vercel certs
The vercel certs command is used to manage certificates for domains, providing functionality to list, issue, upload, and delete them. Vercel manages certificates for domains automatically.
vercel certs listUsing the vercel certs command to list all
certificates under the current scope.
vercel certs issue [domain1, domain2, domain3]Using the vercel certs command to issue a certificate
that covers multiple domains.
vercel certs add --crt certificate.pem --key private-key.pem --ca ca.pemUsing the vercel certs command to upload a
custom SSL certificate, which
requires an Enterprise team. You must pass the certificate, private key,
and Certificate Authority files.
vercel certs delete [certificate-id]Using the vercel certs command to delete a
certificate by ID.
These are options that only apply to the vercel certs command.
The --challenge-only option can be used to only show the challenges needed to issue a certificate. This is useful when pre-generating SSL certificates.
vercel certs issue foo.com --challenge-onlyUsing the vercel certs command with the
--challenge-only option.
The --limit option can be used to specify the maximum number of certs returned when using list. The default value is 20 and the maximum is 100.
vercel certs list --limit 100Using the vercel certs list command with the
--limit option.
Use the --next option with list to show the next page of certificates. When more certificates remain, the output includes the command for the next page. Pass the --next value from that command:
vercel certs list --next 1234567890123Using the vercel certs list command with the
--next option.
The following global options can be passed when using the vercel certs command:
For more information on global options and their usage, refer to the options section.
Was this helpful?