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-cert.bat

42 lines
2.0 KiB
Batchfile

@echo off
setlocal
call %~dp0/setenv.bat
echo =================================================
echo <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB>(CSR) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>մϴ<D5B4>
echo <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB>(Certificate Signing Request)<29><>??
echo SSL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD>ϴ<EFBFBD> ȸ<><C8B8><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ȣȭ<C8A3>Ͽ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
echo <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>߱޹ޱ<DEB9> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>û<EFBFBD><C3BB> <20>Դϴ<D4B4>.
echo -------------------------------------------------
echo [ Ref ... ]
echo -.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ĺ<EFBFBD><C4BA>׸<EFBFBD>
echo Country Name ( <20><><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>) [] : KR
echo State or Province Name ( <20><><EFBFBD><EFBFBD> ) [] : Seoul
echo Locality Name ( <20><>/<2F><>/<2F><> ) [] : Gangseo
echo Organization Name ( ȸ<><C8B8><EFBFBD><EFBFBD> ) [] : XIT Co
echo Organizational Unit Name ( <20>μ<EFBFBD><CEBC><EFBFBD> ) [] : Tech Support Team
echo Common Name ( <20><><EFBFBD>񽺵<EFBFBD><F1BDBAB5><EFBFBD><EFBFBD>θ<EFBFBD> ) [] : www.xit.co.kr
echo Email Address [] : minkyu1128@xit.co.kr
echo -.<2E>ĺ<EFBFBD><C4BA>׸<EFBFBD><D7B8><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
echo Country Name : <20>̰<EFBFBD><CCB0><EFBFBD> <20><> <20>ڷ<EFBFBD> <20><> ISO <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ڵ<EFBFBD><DAB5>Դϴ<D4B4>.
echo State or Province Name : <20><> <20≯<EFBFBD><CCB8><EFBFBD> <20>Է<EFBFBD><D4B7>ؾ<EFBFBD> <20>ϸ<EFBFBD> <20><><EFBFBD><20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.
echo Locality Name : <20><> <20>ʵ<EFBFBD><CAB5><EFBFBD> <20><><EFBFBD>κ<EFBFBD><CEBA><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD> <20><>ü<EFBFBD><C3BC> <20><>ġ<EFBFBD><C4A1> <20><><EFBFBD><EFBFBD> <20><>Ÿ<EFBFBD><C5B8><EFBFBD>ϴ<EFBFBD>.
echo Organization : <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ִ<EFBFBD> ȸ<><C8B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ġ<EFBFBD>Ǵ<EFBFBD> <20><><EFBFBD><EFBFBD> ȸ<><C8B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>Է<EFBFBD><D4B7>Ͻø<CFBD> <20>˴ϴ<CBB4>.
echo Organization Unit : "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><>ü<EFBFBD><C3BC> <20>μ<EFBFBD><CEBC><EFBFBD> <20>Է<EFBFBD><D4B7><EFBFBD> <20><> <20>ֽ<EFBFBD><D6BD>ϴ<EFBFBD>.
echo Common Name : <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ּҸ<D6BC> <20>Է<EFBFBD><D4B7>Ͻø<CFBD> <20>˴ϴ<CBB4>.
echo =================================================
echo openssl req -new -key %FP_PRIVATE_KEY% -out %FP_CERT_INF% -config %OPEN_SSL_CNF_PATH%
%OPEN_SSL_BIN_DIR%\openssl req -new -key %FP_PRIVATE_KEY% -out %FP_CERT_INF% -config %OPEN_SSL_CNF_PATH%
echo.
echo =================================================
echo <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(certificate)<29><> <20><><EFBFBD><EFBFBD> <20>մϴ<D5B4>
echo -------------------------------------------------
echo [ Ref ... ]
echo =================================================
echo openssl req -new -x509 -days 3650 -in %FP_CERT_INF% -key %FP_PRIVATE_KEY% -out %FP_CERT% -config %OPEN_SSL_CNF_PATH%
%OPEN_SSL_BIN_DIR%\openssl req -new -x509 -days 3650 -in %FP_CERT_INF% -key %FP_PRIVATE_KEY% -out %FP_CERT% -config %OPEN_SSL_CNF_PATH%