2017-01-11から1日間の記事一覧

SSLサーバ証明書情報の取得 openssl s_client と openssl x509 の合わせ技

例えば有効期限のみを取得したい場合。http://q.hatena.ne.jp/1341451970 echo | openssl s_client -connect example.jp:443 -servername example.jp 2>/dev/null | openssl x509 -noout -enddate