LoginSignup
2
2

More than 5 years have passed since last update.

SSL証明書 秘密鍵(private-key)と証明書(certificate)がペアとなっている確認

Last updated at Posted at 2015-03-16

SSL証明書のprivate-key(rsa)とcertificateのペアが正しいことを検証する。
証明書を購入した後、チェックする用。

diff \
  <(openssl rsa  -noout -modulus -in server.key) \
  <(openssl x509 -noout -modulus -in server.crt) 

差異が無ければ一致している。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2