list-certs

Output the certificates for some or all virtual servers The virtual servers to list can be selected with the --domain flag followed by a domain name, or --user followed by an administrator’s username - both of which can be given multiple times. Or you can use --all-domains to find certificates for every virtual server with SSL enabled. By default, all known certificates and keys are output. However, you can limit the results to particular certificates with one of more of the following flags:

Output the certificates for some or all virtual servers#

The virtual servers to list can be selected with the --domain flag followed by a domain name, or --user followed by an administrator’s username - both of which can be given multiple times. Or you can use --all-domains to find certificates for every virtual server with SSL enabled.

By default, all known certificates and keys are output. However, you can limit the results to particular certificates with one of more of the following flags:

--cert - SSL certificate only

--key - SSL private key

--ca - SSL chained CA certificate, if there is one

--csr - SSL certificate signing request, for sending to a CA

--newkey - SSL private key matching the CSR, but not yet installed

Command line help#

virtualmin list-certs --all-domains | --domain name | --user username
 [--cert | --key | --ca | --csr | --newkey]

Source: https://www.virtualmin.com/docs/development/api-programs/list-certs/

  • virtualmin, domain, ssl, certificate, user, install, command line, list, certs
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...