ALTER CERTIFICATE
changes a certificate
What changes
- Input
- catalog
- Output or change
- security catalog: certificate
Syntax at a glance
ALTER CERTIFICATE certificate_name REMOVE PRIVATE KEY | WITH PRIVATE KEY ( <private_key_spec> ) | WITH ACTIVE FOR BEGIN_DIALOG = { ON | OFF }
Work example
A certificate needs a planned private-key import or password change.
Confirm the certificate identity, private-key backup, expiry, and rotation owner before handling key files.
Check your work The certificate still validates and its authorized use succeeds in a lab.
Open Microsoft Learn for full syntax, permissions, and details for your version.