Legg til web certificate
Open the MMC (Start > Run > MMC)
Go to File > Add / Remove Snap In
Double Click Certificates
Select Computer Account - Select Local Computer > Finish
Click OK to exit the Snap-In window
Click [+] next to Certificates > Personal > Certificates
Right click on Certificates and select All Tasks > Import
Click Next - Click Browse
Select the .cer, .crt, or .pfx you would like to import.
Click Open
Click Next
Select Automatically select the certificate store based on the type of certificate
Click Finish & OK
Kommandoer under må kjøres i CMD som ADMIN etter installasjon av filen
Finn CERTHASH på det nye sertifikatet
Dobbelklikk på sertifikatet details - "Thumbprint" Kopier denne ut
!!!! FJERN SPACE PÅ STARTEN OG SLUTTEN!!! DE VISES IKKE!!!
Fjern så space i koden
Legg den til scriptet under
Fjern først det sertifikatet som ligger aktivt:
netsh http delete sslcert ipport=0.0.0.0:443
Legg deretter til det nye sertifikatet:
netsh http add sslcert appid={00000000-0000-0000-0000-000000000000} ipport=0.0.0.0:443 certhash=LEGG TIL THUMBPRINT HER UTEN SPACE
Last updated
Was this helpful?