Certificate is expired - but it is not
I have v1.53 (32 bit) on Windows 11.
The OpenConnect server is configured an hour ago with a certificate from LetsEncrypt.
I get this error when trying to connect to it:
2023-01-03 17:12:21 | 19cc | POST https://mydomain.com/
2023-01-03 17:12:21 | 19cc | Attempting to connect to server x.x.x.x:443
2023-01-03 17:12:21 | 19cc | Connected to x.x.x.x:443
2023-01-03 17:12:21 | 19cc | There was a non-CA certificate in the trusted list: OU=Copyright (c) 1997 Microsoft Corp.,OU=Microsoft Corporation,CN=Microsoft Root Authority.
2023-01-03 17:12:21 | 19cc | There was a non-CA certificate in the trusted list: C=US,O=MSFT,CN=Microsoft Authenticode(tm) Root Authority.
2023-01-03 17:12:21 | 19cc | There was a non-CA certificate in the trusted list: CN=Root Agency.
2023-01-03 17:12:21 | 19cc | SSL negotiation with mydomain.com
2023-01-03 17:12:21 | 19cc | Server certificate verify failed: certificate expired
2023-01-03 17:12:21 | 19cc | SSL connection failure: Error in the pull function.
2023-01-03 17:12:21 | 19cc | Failed to open HTTPS connection to mydomain.com
2023-01-03 17:12:21 | 19cc | Authentication error; cannot obtain cookie
2023-01-03 17:12:21 | 3084 | Disconnected
But the certificate is valid:
X.509 Certificate Information:
Version: 3
Serial Number (hex): 039dcca7cfaf00766c461633e0876f9e18f6
Issuer: CN=R3,O=Let's Encrypt,C=US
Validity:
Not Before: Tue Jan 03 11:36:28 UTC 2023
Not After: Mon Apr 03 11:36:27 UTC 2023
And I have already tried with batch mode disabled, same issue.