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

  • -e file β€” 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 expire
  • GVM_CERTIFICATE_HOSTNAME β€” Name to use for the certificate
  • GVM_CERTIFICATE_SIGNALG β€” Hash algorithm to use for signing
  • GVM_CERTIFICATE_KEYSIZE β€” Size in bits of the generated key
  • GVM_CERTIFICATE_SECPARAM β€” GnuTLS security level [low|medium|high|ultra]
  • GVM_CERT_DIR β€” Directory where keys and certificates are stored before installation
  • GVM_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 🌸

openvas(8), gvmd(8), gsad(8)


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 πŸ‘‘βœ¨