NAME
ronin-db-certs - Queries or imports SSL/TLS certificates
SYNOPSIS
ronin-db certs [options]
DESCRIPTION
Queries or imports SSL/TLS certificates into the database.
OPTIONS
--dbNAME- The database name to connect to. Defaults to
defaultif not given. --db-uriURI- The explicit database URI to connect to.
- sqlite3:
sqlite3:relative/path.dborsqlite3:///absolute/path.db - mysql:
mysql://user:password@host/database - postgres:
postgres://user:password@host/database
- sqlite3:
--db-filePATH- The sqlite3 database file to use.
-v,--verbose- Enables verbose output
-A,--active- Searches for all Certs that are still valid.
-E,--expired- Searches for all Certs that are expired.
--issuer-common-nameNAME- Searches for all Certs with the Issuer Common Name (CN).
--issuer-organizationNAME- Searches for all Certs with the Issuer Organization (O).
--issuer-organizational-unitNAME- Searches for all Certs with the Issuer Organizational Unit (OU).
--issuer-localityLOCALITY- Searches for all Certs with the Issuer Locality (L).
--issuer-stateSTATE- Searches for all Certs with the Issuer State (ST).
--issuer-countryCOUNTRY- Searches for all Certs with the Issuer Country (C).
--common-nameHOST- Searches for all Certs with the Subject Common Name (CN).
--subject-alt-nameHOST- Searches for all Certs with the Subject Alternative Name (SAN).
--organizationNAME- Searches for all Certs with the Subject Organization (O).
--organizational-unitNAME- Searches for all Certs with the Subject Organizational Unit (OU).
--localityLOCALITY- Searches for all Certs with the Subject Locality (L).
--stateSTATE- Searches for all Certs with the Subject State (ST).
--countryCOUNTRY- Searches for all Certs with the Subject Country (C).
--importFILE- Imports a SSL/TLS certificate from a PEM encoded file.
-h,--help- Print help information.
ENVIRONMENT
- HOME
- Alternate location for the user’s home directory.
- XDG_CONFIG_HOME
- Alternate location for the
~/.configdirectory. - XDG_DATA_HOME
- Alternate location for the
~/.local/sharedirectory.
FILES
~/.local/share/ronin-db/database.sqlite3- The default sqlite3 database file.
~/.config/ronin-db/database.yml- Optional database configuration.
AUTHOR
Postmodern postmodern.mod3@gmail.com