.\" Generated by kramdown-man 0.1.8 .\" https://github.com/postmodern/kramdown-man#readme .TH ronin-cert-dump 1 "2023-02-01" Ronin "User Manuals" .LP .SH SYNOPSIS .LP .HP \fBronin cert-dump\fR \[lB]\fIoptions\fP\[rB] \[lC]\fIHOST\fP:\fIPORT\fP \[or] \fIURL\fP \[or] \fIFILE\fP\[rC] \.\.\. .LP .SH DESCRIPTION .LP .PP Prints SSL\[sl]TLS certificate information for one or more SSL\[sl]TLS services, \fBhttps://\fR URLs, or certificate files\. .LP .SH ARGUMENTS .LP .TP \fIHOST\fP:\fIPORT\fP A remote TCP service to retrieve the SSL\[sl]TLS certificate from and print\. .LP .TP \fIURL\fP An URL to retrieve the SSL\[sl]TLS certificate from and print\. .LP .TP \fIFILE\fP A SSL\[sl]TLS certificate file to print\. .LP .SH OPTIONS .LP .TP \fB-f\fR, \fB--file\fR \fIFILE\fP Optional file to read target values from\. .LP .TP \fB-C\fR, \fB--common-name\fR Only prints the Common Name (CN) for each certificate\. .LP .TP \fB-A\fR, \fB--subject-alt-names\fR Only prints the \fBsubjectAltName\fRs for each certificate\. .LP .TP \fB-E\fR, \fB--extensions\fR Also prints the extensions for each certificate\. .LP .TP \fB-h\fR, \fB--help\fR Print help information\. .LP .SH EXAMPLES .LP .PP Print the certificate information for the cert file: .LP .nf ronin cert\-dump ssl\.crt .fi .LP .PP Print the certificate information for a SSL\[sl]TLS service: .LP .nf ronin cert\-dump github\.com:443 .fi .LP .PP Print the certificate information for a URL: .LP .nf ronin cert\-dump https:\[sl]\[sl]github\.com .fi .LP .PP Only print the Common Name (CN) for a SSL\[sl]TLS service: .LP .nf ronin cert\-dump \-C 93\.184\.216\.34:443 .fi .LP .PP Only print the \fBsubjectAltName\fRs for a SSL\[sl]TLS service: .LP .nf ronin cert\-dump \-A wired\.com:443 .fi .LP .SH AUTHOR .LP .PP Postmodern .MT postmodern\.mod3\[at]gmail\.com .ME .LP .SH SEE ALSO .LP .PP ronin\-cert\-grab(1) ronin\-cert\-gen(1)