====== OpenSSLによる証明書管理 ====== [[:linux|一つ上へ]] ===== 鍵の作成 ===== openssl genrsa -out ===== CSRの作成 ===== openssl req -new -key -out ===== 証明書の内容の確認 ===== PEM形式の場合 openssl x509 -text -noout -in DER形式の場合 openssl x509 -text -noout -inform der -in ===== 証明書の有効期限を確認 ===== openssl x509 -in -noout -dates ===== 秘密鍵ファイル内容の確認 ===== openssl rsa -text -noout -in ===== CSRファイル内容の確認 ===== openssl req -text -noout -in ===== 自己証明書作成例 ===== openssl genrsa -out server.key 2048 openssl req -new -key server.key -out server.csr openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt