The certificate used in Certificate Management is not working. The certificate is valid however openssl s_client --connect redacted.domain.tld:5161 | openssl x509 -noout -dates
shows it cannot load the certificate when in fact I know the cert just loaded in Certificate management is perfectly valid — Valid Until 2022-01-17 (358 days)
when running the openssl s_client -connect command as above it displays:
error:2008A067:BIO routines:BIO_connect:connect error:…/crypto/bio/b_sock2.c:111:
unable to load certificate
The certificate is EXACTLY the same as what the web server is using for key, ssl cert and ca-bundle.crt.
In certificate manager deleted the key and then deleted /etc/asterisk/keys/integration/*. Added new cert/key/bundle again in certificate manager, set as default. Did not change anything. Tried fwconsole restart did not change anything.
When running openssl s_client -connect host.domain.tld:443 | openssl x509 -noout -dates it loads correctly with correct dates…
depth=2 C = US, ST = New Jersey, L = Jersey City, O = The USERTRUST Network, CN = USERTrust RSA Certification Authority
depth=1 C = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, CN = Sectigo RSA Domain Validation Secure Server CA
depth=0 CN = REDACTED
notBefore=Jan 17 00:00:00 2021 GMT
notAfter=Jan 17 23:59:59 2022 GMT
Any help is appreciated.