Displays information about an installed SSL certificate
(--certfile
) or a Certificate
Signing Request (--csrfile
).
tarantella security certinfo [ --certfilecertfile
[ --keyfilekeyfile
] ] [ --full ]
tarantella security certinfo --csrfile csrfile
[ --full ]
This command can also check whether a specified private key matches the public key in a particular SSL certificate. In other words, the public key can decrypt text encrypted with the private key.
Use the first form of this command without specifying a
certfile
and
keyfile
to check the key and SSL
certificate installed using the
Section D.87, “tarantella security certuse” command.
The following table shows the available options for this command.
Option | Description |
---|---|
| Specifies the location of a file containing a server SSL certificate. The command displays information about this certificate, including the following:
If you omit
You must specify the full path to the SSL certificate
file. The path must be readable by the
|
| Specifies the location of a private key. The command checks whether a private key matches the public key contained in the SSL certificate file.
You must specify the full path to the key file. The path
must be readable by the |
| Specifies the location of a file containing a CSR. The command displays information about this CSR, including the following:
You must specify the full path to the CSR file. The path
must be readable by the |
| Displays more detailed information about the specified SSL certificate or CSR, for example, the contents of the public keys they contain. |
The following example displays detailed information about the SSL
certificate in the /opt/certs/newyork.cert
file.
# tarantella security certinfo \ --certfile /opt/certs/newyork.cert \ --full
The following example displays information about the SSL
certificate in /opt/certs/boston.cert
, and
checks that the private key
/opt/keys/boston.key
matches the public key
contained in that SSL certificate.
# tarantella security certinfo \ --certfile /opt/certs/boston.cert \ --keyfile /opt/keys/boston.key
The following example displays information about the CSR in
/tmp/boston.csr
.
# tarantella security certinfo \ --csrfile /tmp/boston.csr