Changes between Version 8 and Version 9 of TipAndDoc/ssl
- Timestamp:
- Nov 9, 2009 9:13:15 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TipAndDoc/ssl
v8 v9 44 44 * newserver: $ sudo /usr/lib/ssl/misc/CA.sh -newreq 45 45 {{{ 46 Enter PEM pass phrase: <= type password ( ※)46 Enter PEM pass phrase: <= type password (1) 47 47 Verifying - Enter PEM pass phrase: <= retype it 48 48 ----- … … 53 53 Organization Name (eg, company) [Internet Widgits Pty Ltd]:mitty.jp 54 54 Organizational Unit Name (eg, section) []:laboratory 55 Common Name (eg, YOUR name) []:lab.mitty.jp 55 Common Name (eg, YOUR name) []:lab.mitty.jp <= (2) 56 56 Email Address []: 57 57 … … 62 62 Request is in newreq.pem, private key is in newkey.pem 63 63 }}} 64 * (※) ここでtypeするパスワードは実際には使用されない 64 * (1) ここでtypeするパスワードは実際には使用されない 65 * (2) Common Nameに実際に使用するFQDNを入れるが、「*.mitty.jp」の様に指定するといわゆる「ワイルドカード証明書」になる。 65 66 * ルートCAへ送付する、サーバ証明書リクエストファイルとサーバ秘密鍵を作成 66 67 * newserver: $ sudo openssl rsa -in ./newkey.pem -out ./newkey.pem 67 68 {{{ 68 Enter pass phrase for ./newkey.pem: <= type password ( ※)69 Enter pass phrase for ./newkey.pem: <= type password (1) 69 70 }}} 70 * ( ※) -newreq の時と同じパスワードをtype71 * (1) -newreq の時と同じパスワードをtype 71 72 * サーバ秘密鍵からパスフレーズの削除 (Apacheが起動する際にパスフレーズを聞かれなくてすむようにする) 72 73 … … 76 77 * rootCA: $ sudo /usr/lib/ssl/misc/CA.sh -sign 77 78 {{{ 78 Enter pass phrase for ./demoCA/private/cakey.pem: <= type rootCA's password ( ※)79 Enter pass phrase for ./demoCA/private/cakey.pem: <= type rootCA's password (1) 79 80 80 81 Signed certificate is in newcert.pem 81 82 }}} 82 * ( ※) ルートCAを作った際の秘密鍵のパスフレーズをtype83 * (1) ルートCAを作った際の秘密鍵のパスフレーズをtype 83 84 * サーバ証明書がnewcert.pemとして作成される 84 85 * rootCA: $ sudo openssl x509 -in newcert.pem -out newcert.crt