View the contents of a PEM file

Last Updated : Sep 26, 2020 |

Solution

Procedure

To view the contents of a .pem file, run the following command:

openssl x509 -in certificate.pem -text