0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

SSL証明書の整合性チェックのためのナレッジ

Posted at

それぞれコマンド叩いて出力されるハッシュ値が同じであることを確認する。

SSL証明書と秘密鍵

openssl x509 -noout -modulus -in /path/to/ssl.crt | md5sum
# > ハッシュ値 
openssl rsa -noout -modulus -in /path/to/private.key | md5sum
# > ハッシュ値 

SSL証明書と中間証明書

openssl x509 -issuer_hash -noout -in /path/to/ssl.crt
# > ハッシュ値 
openssl x509 -subject_hash -noout -in /path/to/interCA.cer
# > ハッシュ値 

おわり。

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?