.\" Generated by kramdown-man 1.0.1 .\" https://github.com/postmodern/kramdown-man#readme .TH ronin-db-certs 1 "2023-02-01" Ronin DB "User Manuals" .SH NAME .PP ronin\-db\-certs \- Queries or imports SSL\[sl]TLS certificates .SH SYNOPSIS .PP \fBronin\-db certs\fR \[lB]\fIoptions\fP\[rB] .SH DESCRIPTION .PP Queries or imports SSL\[sl]TLS certificates into the database\. .SH OPTIONS .TP \fB\-\-db\fR \fINAME\fP The database name to connect to\. Defaults to \fBdefault\fR if not given\. .TP \fB\-\-db\-uri\fR \fIURI\fP The explicit database URI to connect to\. .RS .RS .IP \(bu 2 \fBsqlite3\fP: \fBsqlite3:relative\[sl]path\.db\fR or \fBsqlite3:\[sl]\[sl]\[sl]absolute\[sl]path\.db\fR .IP \(bu 2 \fBmysql\fP: \fBmysql:\[sl]\[sl]user:password\[at]host\[sl]database\fR .IP \(bu 2 \fBpostgres\fP: \fBpostgres:\[sl]\[sl]user:password\[at]host\[sl]database\fR .RE .RE .TP \fB\-\-db\-file\fR \fIPATH\fP The sqlite3 database file to use\. .TP \fB\-v\fR, \fB\-\-verbose\fR Enables verbose output .TP \fB\-A\fR, \fB\-\-active\fR Searches for all Certs that are still valid\. .TP \fB\-E\fR, \fB\-\-expired\fR Searches for all Certs that are expired\. .TP \fB\-\-issuer\-common\-name\fR \fINAME\fP Searches for all Certs with the Issuer Common Name (CN)\. .TP \fB\-\-issuer\-organization\fR \fINAME\fP Searches for all Certs with the Issuer Organization (O)\. .TP \fB\-\-issuer\-organizational\-unit\fR \fINAME\fP Searches for all Certs with the Issuer Organizational Unit (OU)\. .TP \fB\-\-issuer\-locality\fR \fILOCALITY\fP Searches for all Certs with the Issuer Locality (L)\. .TP \fB\-\-issuer\-state\fR \fISTATE\fP Searches for all Certs with the Issuer State (ST)\. .TP \fB\-\-issuer\-country\fR \fICOUNTRY\fP Searches for all Certs with the Issuer Country (C)\. .TP \fB\-\-common\-name\fR \fIHOST\fP Searches for all Certs with the Subject Common Name (CN)\. .TP \fB\-\-subject\-alt\-name\fR \fIHOST\fP Searches for all Certs with the Subject Alternative Name (SAN)\. .TP \fB\-\-organization\fR \fINAME\fP Searches for all Certs with the Subject Organization (O)\. .TP \fB\-\-organizational\-unit\fR \fINAME\fP Searches for all Certs with the Subject Organizational Unit (OU)\. .TP \fB\-\-locality\fR \fILOCALITY\fP Searches for all Certs with the Subject Locality (L)\. .TP \fB\-\-state\fR \fISTATE\fP Searches for all Certs with the Subject State (ST)\. .TP \fB\-\-country\fR \fICOUNTRY\fP Searches for all Certs with the Subject Country (C)\. .TP \fB\-\-import\fR \fIFILE\fP Imports a SSL\[sl]TLS certificate from a PEM encoded file\. .TP \fB\-h\fR, \fB\-\-help\fR Print help information\. .SH ENVIRONMENT .TP \fIHOME\fP Alternate location for the user\[cq]s home directory\. .TP \fIXDG\[ru]CONFIG\[ru]HOME\fP Alternate location for the \fB\[ti]\[sl]\.config\fR directory\. .TP \fIXDG\[ru]DATA\[ru]HOME\fP Alternate location for the \fB\[ti]\[sl]\.local\[sl]share\fR directory\. .SH FILES .TP \fB\[ti]\[sl]\.local\[sl]share\[sl]ronin\-db\[sl]database\.sqlite3\fR The default sqlite3 database file\. .TP \fB\[ti]\[sl]\.config\[sl]ronin\-db\[sl]database\.yml\fR Optional database configuration\. .SH AUTHOR .PP Postmodern .MT postmodern\.mod3\[at]gmail\.com .ME