@echo off rem ======================================== rem Default Path rem ======================================== set OPEN_SSL_HOME=C:\OpenSSL set OPEN_SSL_BIN_DIR=%OPEN_SSL_HOME%\bin set DP_SSL_HOME=%~dp0..\.. set DP_SSL_CERT=%DP_SSL_HOME%\cert set CUR_DATE=%date:-=% set DP_SSL_CERT_BAK=%DP_SSL_CERT%\backup\%CUR_DATE% rem ======================================== rem File Name rem ======================================== set FM_PRIVATE_KEY=server.key set FM_CERTE_INF=server.csr set FM_CERT=server.crt rem ======================================== rem File Path rem ======================================== set FP_PRIVATE_KEY=%DP_SSL_CERT%\%FM_PRIVATE_KEY% set FP_CERT_INF=%DP_SSL_CERT%\%FM_CERTE_INF% set FP_CERT=%DP_SSL_CERT%\%FM_CERT% rem set OPEN_SSL_CNF_PATH=%OPEN_SSL_BIN_DIR%\openssl.cnf set OPEN_SSL_CNF_PATH=%DP_SSL_HOME%\bin\conf\openssl.cnf