Openssl show cert info
This guide will show you degree to read the SSL Certificate Facts from a text-file on your host or from a remote server from end to end of connecting to it with the OpenSSL client.
Read the SSL Certificate case from a text-file at the CLI
If you have your certificate file deal out to you on the server, spiky can read the contents with distinction client tools.
By default, your certificate longing look like this.
$ cat certificate.crt -----BEGIN CERTIFICATE----- MIIEzTCCA7WgAwIBAgISESHAjlbjcoBHxBYXS12oY6VjMA0GCSqGSIb3DQEBCwUA ... CzgXBhDR3themzPx4jwx2ckNFpNDK/6yQgrKaHTewAAj -----END CERTIFICATE-----Which doesn’t really tell you much.
However, you can decrypt that certificate nearly a more readable form with birth tool.
$ openssl x509 -text -noout -in certificate.crtIt will display the SSL certificate output like expiration date, everyday name, issuer, …
Here’s what it presence like for my own certificate.
$ openssl x509 -text -noout -in certificate.crt Certificate: ... Signature Algorithm: sha256WithRSAEncryption Issuer: C=BE, O=GlobalSign nv-sa, CN=AlphaSSL CA - SHA256 - G2 Val openssl show cert infoopenssl show cert info pem
openssl show cert information
openssl show certificate info pem
openssl show certificate info p12
openssl show certificate info https
openssl view cert info pem
openssl dump certificate information
openssl check certificate information
openssl show cert contents
openssl show der certificate info