Applies to: Windows Server 2019, 2022 and 2025.
A web certificate must contain every published DNS name, include a private key on the server and be issued from an approved template.
PKI changes affect trust across the organization. Use an approved certificate policy, offline backups and separation of duties. Visit managed Windows VPS hosting.
Prerequisites
- Publish a secured Web Server template.
- Grant enrollment to the server or administrator group.
- Know all SAN names.
- Confirm IIS binding design.
Procedure
Step 1: Open machine certificate console
Run certlm.msc on the target server.
certlm.mscStep 2: Start enrollment
Under Personal, Certificates choose All Tasks, Request New Certificate.
Step 3: Select template
Choose the approved Web Server template.
Step 4: Provide subject data
When the template permits request-supplied subjects, enter the primary CN and every DNS SAN carefully.
Step 5: Enroll
Complete enrollment and confirm a private key is present.
Step 6: Bind to IIS
Select the certificate in the HTTPS binding with SNI when required.
Verification
Inspect subject, SAN, issuer, expiry and private key, then test HTTPS.
Get-ChildItem Cert:\LocalMachine\My | Where Subject -Like '*portal.corp.example*' | Format-List Subject,DnsNameList,Issuer,NotAfter,HasPrivateKey
Invoke-WebRequest https://portal.corp.example -UseBasicParsingRollback and recovery
Remove the certificate from the service binding first. Revoke it through the CA when the wrong identity was issued.
Security notes
Never export the private key unless an approved load-balancing or recovery design requires it.
Official references
For a hosted environment with setup and onboarding, explore our managed Windows VPS plans.
How to Install an Enterprise Root Certificate Authority with PowerShell
Install a deliberately designed Enterprise Root CA with explicit cryptography, stable publication paths and restricted issuance, then…
How to Build an Offline Standalone Root CA for a Two-Tier PKI
How to Build an Offline Standalone Root CA for a Two-Tier PKIApplies to: Windows Server 2019, 2022 and 2025.An offline root signs…
How to Duplicate and Publish an AD CS Certificate Template
How to Duplicate and Publish an AD CS Certificate TemplateApplies to: Windows Server 2019, 2022 and 2025.Duplicating a built-in template…
How to Configure Certificate Auto-Enrollment with Group Policy
How to Configure Certificate Auto-Enrollment with Group PolicyApplies to: Windows Server 2019, 2022 and 2025.Auto-enrollment issues and…
How to Revoke a Certificate and Publish a New CRL
How to Revoke a Certificate and Publish a New CRLApplies to: Windows Server 2019, 2022 and 2025.Revocation marks a certificate untrusted…