サーバ証明書作成手順(CentOS 5)

  • 投稿日:
  • by
  • カテゴリ:

# openssl genrsa -out privkey.pem 2048
# openssl req -new -key privkey.pem -out server.csr
# openssl req -new -x509 -key privkey.pem -out server.crt -days 3650
# cat privkey.pem server.crt > server.pem
# cp -piv server.pem /mnt/key/