WebをSSL暗号化するためのopenssl の設定につき、以下のサイトを参考にさせていただいています。
http://nai.homelinux.net/ssl.html
http://www.kazutoyo.com/ubuntu/
続き
# cd /etc/ssl/Server ここで以下作業する。
次にCAで署名する
# cp /etc/ssl/openssl.cnf ./.
# openssl ca -config openssl.cnf -policy policy_anything -out ./cert-ca.pem -infiles request.pem
を実行する
すると以下の通り
Using configuration from openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 1 (0x1)
Validity
Not Before: Nov 17 12:21:52 2007 GMT
Not After : Nov 14 12:21:52 2017 GMT
Subject:
countryName = JP
stateOrProvinceName = 県名
localityName = 市町村名
organizationName = 組織名
organizationalUnitName =Kaihatu-bu
commonName = IPアドレス
emailAddress = 電子メール
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Cert Type:
SSL Server
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
2A:8C:E5:1F:7B:C9:E6:A2:9F:EE:EF:13:F1:70:24:D0:3B:1C:E8:AB
X509v3 Authority Key Identifier:
keyid:73:11:5D:84:26:74:9B:11:BD:F4:46:A3:77:1B:8F:2C:8B:F3:EB:8C
Certificate is to be certified until Nov 14 12:21:52 2017 GMT (3650 days)
Sign the certificate? [y/n]:y y を選択
1 out of 1 certificate requests certified, commit? [y/n]y y を選択
Write out database with 1 new entries
Data Base Updated
とりあえずつづく
2008年4月18日金曜日
登録:
コメントの投稿 (Atom)

0 件のコメント:
コメントを投稿