1. Certutil 구동환경 구성 (Network Security Services)
참고 : SunOne(Iplanet)이 설치 되어 있다는 가정하의 가이드 입니다.
1)
[$Sunone]/bin/https/admin/bin 에 있는
certutil을
[$Sunone]/bin/https/bin 에 복사합니다.
2. DB 생성
[$Sunone]/bin/https/bin 으로 이동하여 certutil 을 이용하여 DB생성합니다.
DB 생성 명령어 형식 : certutil -N -d ($Sunone)/alias -P "https-[도메인]-[인스턴스-]"
[C:\Sun\WebServer6.1\bin\https\bin]# certutil -N -d C:\Sun\WebServer6.1\alias -P "https-www.ucert.co.kr-ucert-"
In order to finish creating your database, you
must enter a password which will be used to
encrypt this key and any future keys.
The password must be at least 8 characters long,
and must contain at least one non-alphabetic character.
Enter new password:[엔터 또는 패스워드 입력 ]
Re-enter password:[엔터 또는 패스워드 입력 ]
설명 : DB 생성 후 DB 패스워드를 입력 합니다. 패스워드 없이 하고 싶다면 입력하지 않고 엔터로 넘어갑니다.
DB파일 생성되었는지 확인합니다.
3. CSR 생성
CSR 생성 명령어 형식 : certutil -R -a -g 2048 -s "CN=[도메인주소], OU=[부서 명], O=[회사 명], L=[지역 구], ST=[도시 명], C=[국가 명]" -o [CSR 파일 명] -d "[DB파일 위치] -P "[인스턴스-]"
[C:\Sun\WebServer6.1\bin\https\bin]# certutil -R -a -g 2048 -s "CN=www.ucert.co.kr, OU=UCERT, O=Korean Corporation Security, L=Seocho-gu, ST=Seoul, C=KR" -o C:\Sun\WebServer6.1\alias\www.ucert.co.kr.csr -d "C:\Sun\WebServer6.1\alias" -P "https-www.ucert.co.kr-ucert-"
A random seed must be generated that will be used in the
creation of your key. One of the easiest ways to create a
random seed is to use the timing of keystrokes on a keyboard.
To begin, type keys on the keyboard until this progress meter
is full. DO NOT USE THE AUTOREPEAT FUNCTION ON YOUR KEYBOARD!
Continue typing until the progress meter is full:
|************************************************************|
//암호화하기 위해 별이 꽉 찰 때까지 아무 키를 타자치듯이 입력합니다.
Finished. Press enter to continue: //엔터 입력
Generating key. This may take a few moments...
[C:\Sun\WebServer6.1\bin\alias]#
3. 파일 확인
CSR 파일을 Wordpad로 열어서 확인합니다.
----BEGIN NEW CERTIFICATE REQUEST---- 에서 ----END CERTIFICATE REQUEST---- 까지 복사하여 ucert@ucert.co.kr로 보내주시면 됩니다. ( ----END NEW부분이 코드에 붙어있으면 그림처럼 분리하시면 됩니다.)