snippetbashTip
cmctl — Manage cert-manager resources inside your cluster. Check cert signing status, approve/deny requests,
Viewed 0 times
resourcescommandcertclimanageinsidecmctlmanager
Problem
How to use the
cmctl command: Manage cert-manager resources inside your cluster. Check cert signing status, approve/deny requests, and issue new certificate requests. More information: <https://cert-manager.io/docs/reference/cmctl/>.Solution
cmctl — Manage cert-manager resources inside your cluster. Check cert signing status, approve/deny requests, and issue new certificate requests. More information: <https://cert-manager.io/docs/reference/cmctl/>.Check if the cert-manager API is ready:
cmctl check apiCheck the status of a certificate:
cmctl status certificate {{cert_name}}Create a new certificate request based on an existing certificate:
cmctl create certificaterequest my-cr --from-certificate-file {{cert.yaml}}Create a new certificate request, fetch the signed certificate, and set a maximum wait time:
cmctl create certificaterequest my-cr --from-certificate-file {{cert.yaml}} --fetch-certificate --timeout {{20m}}Code Snippets
Check if the cert-manager API is ready
cmctl check apiCheck the status of a certificate
cmctl status certificate {{cert_name}}Create a new certificate request based on an existing certificate
cmctl create certificaterequest my-cr --from-certificate-file {{cert.yaml}}Create a new certificate request, fetch the signed certificate, and set a maximum wait time
cmctl create certificaterequest my-cr --from-certificate-file {{cert.yaml}} --fetch-certificate --timeout {{20m}}Context
tldr-pages: common/cmctl
Revisions (0)
No revisions yet.