当我试图在ubuntu中使用OCServ客户机连接到我的OpenConnect时,它会引发一个错误:
Connected to x.x.x.x:yyy
SSL negotiation with server.domain.tld
Server certificate verify failed: certificate expired
Certificate from VPN server "server.domain.tld" failed verification.
Reason: certificate expired
To trust this server in future, perhaps add this to your command line:
--servercert pin-sha256:02oy27uQkY5fMYDda0sSLIj1SbioAHRRbqUneUeI6OA=
Enter 'yes' to accept, 'no' to abort; anything else to view:当我按下键来查看证书时,过期日期是确定的,而且它还没有过期!
X.509 Certificate Information:
Version: 3
Serial Number (hex): xyzxyzxyz..
Issuer: CN=R3,O=Let's Encrypt,C=US
Validity:
Not Before: Wed Sep 08 21:10:50 UTC 2021
Not After: Tue Dec 07 21:10:49 UTC 2021
Subject: CN=server.domain.tld
Subject Public Key Algorithm: EC/ECDSA
Algorithm Security Level: Ultra (384 bits)
Curve: SECP384R1我的系统日期是正确的,2021年10月3日星期日。在过去的一年里,这是正确的工作,但是在最近的加密证书自动更新之后,我注意到它没有正常工作。
发布于 2021-10-05 11:09:24
尝试更新“ca-证书”包。我也有同样的问题,我就这样解决了。
https://askubuntu.com/questions/1367117
复制相似问题