|
|
|
|
|
|
Ȩ > ̵ > CSR̵ |
|
|
|
|
Warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP) in /home/innocert/www/guide/csr_view.html on line 37
|
Apache (mod_ssl) |
|
|
CSR(Certificate Signing Request)
[STEP#1] Ű ϱ.
[STEP#2] Ű ̿Ͽ CSR ϱ.
[STEP#3] CSR ûϱ.
|
|
|
Apache SSL ġϱ ؼ mod_ssl ġǾ ־ մϴ.
|
|
Apache ΰ ⼳ġ ϰ ֽϴ.
Ǿ ְ mod_ssl ġǾ ġ 缳ġ 䱸 ˴ϴ.
ġ δ Ʒ ȮϽø ǽʴϴ.
|
|
< ġ mod_ssl Ȯ >
|
|
|
< ġ mod_ssl Ȯ >
߿ mod_so.c Ȯ mod_ssl.so ϴ ݵ Բ Ȯϼž մϴ.
ġ ġ 丮 ؿ module Ȥ libexec 丮ȿ mod_ssl.so θ ȮϽʽÿ.
|
|
|
ġ ȯ
OS : CentOS 5.4
Web Server : Apache 2.2.16
|
|
|
Apache OpenSSL RSAŰ(Ű) մϴ. Ű Ǹ鼭 н带 µ н
ġ Էؾ DZ ݵ ؾ ʵ ֽʽÿ.
RSA Ű 1024 bit 2048 bit ִµ, 2048 bit 帳ϴ.
|
|
|
|
[root@localhost httpd]# openssl sha1 * > rand.dat
[root@localhost httpd]# openssl genrsa -rand rand.dat -des3 2048 > [Ű]
# Ű #
()# openssl genrsa -rand rand.dat -des3 2048 > www.innocert.co.kr.key
Generating RSA private key, 2048 bit long modulus
...................++++++
......++++++
e is 65537 (0x10001)
Enter pass phrase: [нԷ]
Verifying - Enter pass phrase: [нԷ]
: ش н ġ 䱸ϴ н̹Ƿ ݵ Ͻʽÿ.
|
|
|
|
|
Window Apache , 2.2.9 mod_ssl SSL ġ մϴ.
|
|
|
ġ ȯ
Windows 2003 Server
Apache 2.2.14-openssl-0.9.8 ( ġ : C:\Apache2.2 )
|
|
|
|
[root@localhost httpd]# openssl genrsa -out [Ű] 2048
# Ű #
()# openssl genrsa -out www.innocert.co.kr.key 2048
Generating RSA private key, 2048 bit long modulus
...................++++++
......++++++
e is 65537 (0x10001)
|
|
|
|
|
|
|
< CSR ο >
Country Name : ̰ ڷ ISO ڵԴϴ. (ex. KR)
State or Province Name : ̸ Էؾ ϸ ϴ.(ex. Seoul)
Locality Name : ʵ / ԷϽø ˴ϴ. (ex. Gangnamgu)
Organization : ִ ȸ ġǴ ȸ ԷϽø ˴ϴ. (ex. KOINOS Co.,Ltd.)
Organization Unit : ϴ μ ԷϽø ˴ϴ. (ex. CERT Team)
Common Name : ּҸ ԷϽø ˴ϴ. (ex. www.innocert.co.kr)
|
|
|
|
[root@localhost httpd]# openssl req -new -key [Ű] -out [CSRϸ] # CSR #
()openssl req -new -key www.innocert.co.kr.key -out www.innocert.co.kr.csr
Enter pass phrase for www.innocert.co.kr.key: [нԷ]
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [GB]: KR # ڵ #
State or Province Name (full name) [Berkshire]: Seoul # #
Locality Name (eg, city) [Newbury]: Yeoksamdong # #
Organization Name (eg, company) [My Company Ltd]: KOINOS Co.,Ltd. # ü #
Organizational Unit Name (eg, section) []: CERT TEAM # μ #
Common Name (eg, your name or your server's hostname) []: www.innocert.co.kr # #
Email Address []:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []: [Enter]
An optional company name []: [Enter]
CSR ̳뼭Ʈ ̸(info@innocert.co.kr) ֽø ˴ϴ.
|
|
|
|
|
|
[root@localhost httpd]# openssl req -new -key [Ű] -out [CSRϸ] -config C:\Apache2.2\conf\openssl.cnf # CSR #
()openssl req -new -key www.innocert.co.kr.key -out www.innocert.co.kr.csr -config C:\Apache2.2\conf\openssl.cnf
Country Name (2 letter code) [GB]: KR # ڵ #
State or Province Name (full name) [Berkshire]: Seoul # #
Locality Name (eg, city) [Newbury]: Yeoksamdong # #
Organization Name (eg, company) [My Company Ltd]: KOINOS Co.,Ltd. # ü #
Organizational Unit Name (eg, section) []: CERT TEAM # μ #
Common Name (eg, your name or your server's hostname) []: www.innocert.co.kr # #
Email Address []:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []: [Enter]
An optional company name []: [Enter]
CSR ̳뼭Ʈ ̸(info@innocert.co.kr) ֽø ˴ϴ.
|
|
|
|
|
|
|
|
|
|
|
|