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