Skip to content

Displaying Certificate Info

Endi S. Dewata edited this page Jul 2, 2021 · 4 revisions

Overview

This page describes how to display certificate and CSR information which includes:

NSS

To display the content of a certificate in internal token:

$ certutil -L -d <NSS database> -n <nickname>

To display the content of a certificate in HSM:

$ certutil -L -d <NSS database> -h <token> -f <HSM password file> -n <token>:<nickname>

OpenSSL

To display the content of a certificate in a PEM file:

$ openssl x509 -text -noout -in <filename>

To display the content of a CSR in a PEM file:

$ $ openssl req -text -noout -in <filename>
Clone this wiki locally