Misc/SSL証明書 のバックアップ差分(No.2)


 openssl genrsa -des3 -out key.pem 1024
 openssl rsa -in key.pem -out key.pem
 openssl req -new -days 365 -key key.pem -out csr.pem
  openssl genrsa -des3 -out key.pem 1024
  openssl rsa -in key.pem -out key.pem
  openssl req -new -days 365 -key key.pem -out csr.pem
  
  Country Name (2 letter code) [AU]:JP
  State or Province Name (full name) [Some-State]:
  Locality Name (eg, city) []:
  Organization Name (eg, company) [Internet Widgits Pty Ltd]:
  Organizational Unit Name (eg, section) []:
  Common Name (eg, your name or your server's hostname) []:自分のホスト名
  Email Address []:
  
  Please enter the following 'extra' attributes
  to be sent with your certificate request
  A challenge password []:
  An optional company name []:
  
  cd /usr/local/apache2/ssl
  ./CA.sh -newca
 
 Country Name (2 letter code) [AU]:JP
 State or Province Name (full name) [Some-State]:
 Locality Name (eg, city) []:
 Organization Name (eg, company) [Internet Widgits Pty Ltd]:
 Organizational Unit Name (eg, section) []:
 Common Name (eg, your name or your server's hostname) []:自分のホスト名
 Email Address []:
 
 Please enter the following 'extra' attributes
 to be sent with your certificate request
 A challenge password []:
 An optional company name []:
 
 cd /usr/local/apache2/ssl
 ./CA.sh -newca
 
 Country Name (2 letter code) [AU]:JP
 State or Province Name (full name) [Some-State]:
 Locality Name (eg, city) []:
 Organization Name (eg, company) [Internet Widgits Pty Ltd]:
 Organizational Unit Name (eg, section) []:
 Common Name (eg, your name or your server's hostname) []:自分のホスト名
 
 openssl ca -in /home/jp/source/csr.pem -keyfile demoCA/private/cakey.pem -cert demoCA/cacert.pem -out /usr/local/apache2/cert.pem
  Country Name (2 letter code) [AU]:JP
  State or Province Name (full name) [Some-State]:
  Locality Name (eg, city) []:
  Organization Name (eg, company) [Internet Widgits Pty Ltd]:
  Organizational Unit Name (eg, section) []:
  Common Name (eg, your name or your server's hostname) []:自分のホスト名
  
 [root@sigel conf]# mkdir ssl.crt
 [root@sigel conf]# mv ../cert.pem server.crt
 [root@sigel conf]# mkdir ssl.key
 [root@sigel conf]# cp /home/jp/source/key.pem ssl.key/
 [root@sigel conf]# mv server.crt ssl.crt/
 [root@sigel conf]# mv ssl.key/key.pem ssl.key/server.key
  openssl ca -in /home/jp/source/csr.pem -keyfile demoCA/private/cakey.pem -cert demoCA/cacert.pem -out /usr/local/apache2/cert.pem
  
  [root@sigel conf]# mkdir ssl.crt
  [root@sigel conf]# mv ../cert.pem server.crt
  [root@sigel conf]# mkdir ssl.key
  [root@sigel conf]# cp /home/jp/source/key.pem ssl.key/
  [root@sigel conf]# mv server.crt ssl.crt/
  [root@sigel conf]# mv ssl.key/key.pem ssl.key/server.key

注意)このバージョンのsafariではjavascriptがうまく動作しないので、recaptchaはページ切り替え版を利用しています。
トップ 一覧 検索 最終更新 バックアップ   ヘルプ   最終更新のRSS