ssl - unable to get local issuer certificate issue

This typically means openssl is unable to verify the certificate authenticity in the certificate store. Some openssl version unable to validate against the installed certificates that normally stored in /etc/ssl/certs.

To verify the certificate using a bundle file  

openssl s_client -connect example.com:443 -CAfile bundle.crt


To verify the certificate by providing a truststore

openssl s_client -connect example.com:443 -CApath /path/to/truststore


Other command that might be of use

You can check the fingerprint using 

openssl x509 -in stca.crt -sha256 -fingerprint -noout



Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm