Command: nomad tls ca info
Info is used to display relevant information that is contained within the provided certificate file.
Usage
nomad tls ca info <CA file>
Example
Display default CA:
$ nomad tls ca info nomad-agent-ca.pemSerial Number 314623649437549144006237783956683542664Issuer CN Nomad Agent CA 314623649437549144006237783956683542664Common Name CN=Nomad Agent CA 314623649437549144006237783956683542664,O=HashiCorp Inc.,POSTALCODE=94105,STREET=101 Second Street,L=San Francisco,ST=CA,C=USExpiry Date 2027-11-13 21:37:38 +0000 UTCPermitted DNS Domains []
Display CA with a custom domain "foo.com":
$ nomad tls ca info foo.com-agent-ca.pemSerial Number 189027561135335847320487296530900061259Issuer CN Nomad Agent CA 189027561135335847320487296530900061259Common Name CN=Nomad Agent CA 189027561135335847320487296530900061259,O=HashiCorp Inc.,POSTALCODE=94105,STREET=101 Second Street,L=San Francisco,ST=CA,C=USExpiry Date 2027-11-13 21:38:15 +0000 UTCPermitted DNS Domains [foo.com localhost]