inetmgr2048.cer file → open in Notepad → copy contentshttps://[CA_SERVER]:8443/certsrv/certrqxt.asp
san:dns=hostname[&dns=hostname2]san:dns=dvirus.co.il&dns=dvirus2.co.ilmmccertmgr.mscPersonal and WebHosting storesIf the certificate does not appear in the IIS certificate list, repair it with
certutil.
Make sure the certificate is in the Personal store first.
Get the certificate thumbprint then repair the store:
certutil -repairstore my "09 64 34 45 f3 3a 79 68 e2 1a 19 38 8c d3 ed b2 29 09 bd 81"
myrefers to the Personal certificate store.
Find a certificate by friendly name (PowerShell):
dir cert: -Recurse | Where-Object { $_.FriendlyName -like "*obiwan*" }
Retrieve a pending certificate request:
certreq -retrieve <REQUEST_ID> cert2.p7b
REQUEST_IDis the number shown athttps://CA_SERVER:8443/certsrv/
openssl pkcs12 -export -out domain.name.pfx -inkey in.key -in in.cer