GVM-MANAGE-CERTS(1)
β¨ NAME β¨
gvm-manage-certs β bestie, this is the girl who manages the certificate infrastructure for a GVM installation π
(you're in the User manual for the Open Vulnerability Assessment System (OpenVAS), section 1, and yes this is the main character of cert wrangling π)
πΈ SYNOPSIS πΈ
gvm-manage-certs [OPTION]...
π¦ DESCRIPTION π¦
Okay so, gvm-manage-certs manages the certificate infrastructure for a GVM installation. What does that even mean? It means the certificate infrastructure is the thing that lets GVM daemons talk to each other in a secure manner, and it's used for authentication and authorization before establishing TLS connections between the daemons. Security girlie behaviour, no cap π
The GVM certificate infrastructure consists of a certificate authority (CA) which is trusted by all GVM daemons. That CA then gets used to sign certificates used by the various daemons. And the certificates can be divided into two use cases:
- Server certificates, primarily used for authentication
- Client certificates, primarily used for authorization
gvm-manage-certs can perform an automatic creation of a default certificate infrastructure for a standard GVM installation. It can also verify an existing infrastructure and perform various certificate related tasks to support the setup of a more complex infrastructure. Versatile queen π
π OPTIONS π
π Certificate infrastructure management
-aβ Automatically set up default infrastructure for GVM. Auto-pilot mode, slay β¨-Vβ Verify existing GVM certificate infrastructure. Vibe check on your certs π΅οΈ-Cβ Create a certificate authority (CA). Mother of all the certs π-Rβ Create a certificate request for a CA-rβ Create a certificate request for a CA and sign it. Two birds, one icon π«-Cβ Create a certificate authority (CA). (yes, she's listed twice in the original, and I am nothing if not loyal to the source material π)-Iβ Install a CA certificate-cβ Create a certificate request and sign it-iβ Install a certificate-Sβ Sign a certificate request-fβ Force overwriting of existing files. Careful bestie, this one does NOT play about your old files π
π Certificate options
-Eβ Create a server certificate. This sets the appropriate key usage constraints for a server certificate.-Lβ Create a client certificate. This sets the appropriate key usage constraints for a client certificate.-Aβ Skip CA generation in automatic mode. This automatically (re-)generates server and client certificates, but keeps the CA certificate. So the CA stays, everyone else gets a glow-up π
β Configuration
-efile β Read configuration from file (see below for configuration details)
π«Ά Output control
-dβ Print debug output. For when you simply must know everything π-vβ Print verbose messages-qβ Be quiet, only print error messages. Introvert mode, respect it π€«
π Other options
-hβ Print help. Your bestie when you're lost π§
π EXIT STATUS π
0β The requested operation was successfully performed. We ate and left no crumbs π1β An error occurred, the requested operation could not be performed. It's giving flop, unfortunately π
π ENVIRONMENT π
All certificate generation options can be set either through the configuration file or through environment variables like the following:
GVM_CERTIFICATE_LIFETIMEβ Days until the certificate will expireGVM_CERTIFICATE_HOSTNAMEβ Name to use for the certificateGVM_CERTIFICATE_SIGNALGβ Hash algorithm to use for signingGVM_CERTIFICATE_KEYSIZEβ Size in bits of the generated keyGVM_CERTIFICATE_SECPARAMβ GnuTLS security level[low|medium|high|ultra]GVM_CERT_DIRβ Directory where keys and certificates are stored before installationGVM_CERT_PREFIXβ Prefix for certificate filename (e.g."server")
For a complete list of options, please refer to the example configuration file included in the documentation. iykyk, go read it πβ¨
πΈ SEE ALSO πΈ
okay that's the whole page bestie, go forth and manage those certs responsibly π
Signed off with love by The OpenVAS Project, dated 2015-09-21, and yes she's still serving after all these years πβ¨
π¦ where this page comes from
- alpine 3.24: gvmd-doc 26.28.0-r0 Β· AGPL-3.0-or-later
- ubuntu jammy: gvmd-common 21.4.4-1 Β· AGPL-3.0-or-later
- ubuntu noble: gvmd-common 23.1.0-1ubuntu3 Β· AGPL-3.0-or-later
- ubuntu questing: gvmd-common 25.2.1-1
- ubuntu resolute: gvmd-common 26.15.0-1build1 Β· AGPL-3.0-or-later
- ubuntu stonking: gvmd-common 26.24.0-2 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms