目次

目次

opensslコマンドでSSL証明書の有効期限を確認する方法

近藤 圭太
近藤 圭太
最終更新日2016/06/17 投稿日2016/06/17

以下のコマンドを実行します。 ※example.comは確認したいドメインに変更してください。

$ openssl s_client -connect example.com:443 < /dev/null 2> /dev/null | openssl x509 -text | grep Not

レスポンス例)

            Not Before: Sep 25 09:14:02 2014 GMT
            Not After : Oct 27 09:49:54 2017 GMT​

※Not Afterが有効期限​

近藤 圭太

酒好き。 貝類、特に牡蠣に目がない。
釣り始めました。

目次