hns - 日記自動生成システム - Version 2.19.9

先月 2020年12月 来月
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2020年12月12日() 旧暦 [n年日記]

#1 [mail] certificate expired :-(

CF-SX3@makoto 12:01:54/201212(~)% foreach i (993 )       
echo $i;  openssl x509 -text -noout -in <(openssl s_client -connect imap4.example.com:$i) |& grep -A3 Validity
end
993
depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
verify return:1
depth=0 CN = imap4.example.com
verify error:num=10:certificate has expired
notAfter=Dec 12 00:12:03 2020 GMT
verify return:1
depth=0 CN = imap4.example.com
notAfter=Dec 12 00:12:03 2020 GMT
verify return:1
DONE
        Validity
            Not Before: Sep 13 00:12:03 2020 GMT
            Not After : Dec 12 00:12:03 2020 GMT
        Subject: CN = imap4.example.com

cetbot syntax changed ?:

   79  2020-12-12 20:10  sudo certbot-3.8 certonly --webroot  -d imap4.example.com 
webroot path used be on the command line, but not for now, and it asks later at dialog

to check the port 587, -starttls smtp is necessary:

CF-SX3@makoto 22:51:52/201212(~)% 
openssl x509 -text -noout -in <(openssl s_client -connect imap4.example.com:587 -starttls smtp ) |& grep -A3 Validity

depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = R3
verify return:1
depth=0 CN = imap4.example.com
verify return:1
250 HELP
DONE
        Validity
            Not Before: Dec 12 10:10:56 2020 GMT
            Not After : Mar 12 10:10:56 2021 GMT
        Subject: CN = imap4.example.com
CF-SX3@makoto 22:52:04/201212(~)%

otherwise: Expecting: TRUSTED CERTIFICATE:

openssl x509 -text -noout -in <(openssl s_client -connect imap4.example.com:587  )
18446744073709551615:error:1408F10B:SSL routines:ssl3_get_record:
wrong version number:/usr/src/crypto/external/bsd/openssl/dist/ssl/record/ssl3_record.c:332:
unable to load certificate
18446744073709551615:error:0909006C:PEM routines:get_name:
no start line:/usr/src/crypto/external/bsd/openssl/dist/crypto/pem/pem_lib.c:745:
Expecting: TRUSTED CERTIFICATE



最近の日記
2021年01月09日

2021年01月02日
ImportError: cannot import name 'DistutilsSetupError'
2021年01月01日
deve/R-roxygen2-7.1.1
2020年12月14日
NetBSD pkgsrc binary 生活
2020年12月12日
certificate expired :-(
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)