You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xit-ntri/REF/deploy/ntri/ssl/bin/conf/ssl-file-backup.bat

38 lines
984 B
Batchfile

@echo off
setlocal
call %~dp0/setenv.bat
echo =================================================
echo SSL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>մϴ<D5B4>
echo =================================================
if not exist "%DP_SSL_CERT_BAK%" (
mkdir "%DP_SSL_CERT_BAK%"
)
rem
rem echo <20><><EFBFBD><EFBFBD>Ű(%FM_PRIVATE_KEY%) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>մϴ<D5B4>.
rem echo copy %FP_PRIVATE_KEY% %DP_SSL_CERT_BAK%
rem copy %FP_PRIVATE_KEY% %DP_SSL_CERT_BAK%
rem
rem echo <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(%FM_CERTE_INF%) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>մϴ<D5B4>.
rem echo copy %FP_CERT_INF% %DP_SSL_CERT_BAK%
rem copy %FP_CERT_INF% %DP_SSL_CERT_BAK%
rem
rem echo <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(%FM_CERT%) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>մϴ<D5B4>.
rem echo copy %FP_CERT% %DP_SSL_CERT_BAK%
rem copy %FP_CERT% %DP_SSL_CERT_BAK%
rem
rem echo.
rem echo %DP_SSL_CERT_BAK% <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>Ϸ<EFBFBD> <20>߽<EFBFBD><DFBD>ϴ<EFBFBD>.
echo <20><><EFBFBD><EFBFBD>Ű(%FM_PRIVATE_KEY%)/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(%FM_CERTE_INF%)/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(%FM_CERT%) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>մϴ<D5B4>.
echo copy %DP_SSL_CERT%\*.* %DP_SSL_CERT_BAK%\*.*
copy %DP_SSL_CERT%\*.* %DP_SSL_CERT_BAK%\*.*
echo.
echo <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>մϴ<D5B4>.