Forrest logo
back to the testssl tool

sslscan:tldr:b3cf5

sslscan: Show certificate information.
$ testssl --show-certificate ${example-com}
try on your machine

The command "testssl --show-certificate ${example-com}" is used to test and display the SSL certificate information for a given domain, in this case, the domain is "${example-com}".

Here is a breakdown of the command:

  • "testssl" is the name of the tool/program being executed.
  • "--show-certificate" is an option/flag provided to the testssl command to indicate that the SSL certificate details should be shown.
  • "${example-com}" is a placeholder indicating that the actual domain name should be substituted here. It is common to replace "${example-com}" with an actual domain name, like "google.com" or "example.com".

By running this command with the specific domain name, the testssl tool will establish a secure connection with the specified domain and retrieve the SSL certificate. It will then display various details about the certificate, such as the issuer, validity period, public key details, and any observed security issues or vulnerabilities.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the testssl tool