Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 26310

Command Line for getting SSL Certificate Hash

$
0
0

I have a self signed SSL certificate on the machine, when I do Sysprep with Generalize the Certificate Hash is getting changed for each installation. I am working on to bind the Certificate automatically to the Default Web Site using the below commands.

netsh http add sslcert ipport=0.0.0.0:443 certstore name=MY certhash=73ca817211c4353f081566603adb3a669376c451 appid={5a599f4f-02dc-4120-8646-74fcbc5b4827}

appcmd set site "Default Web Site" /+bindings.[protocol='https',bindingInformation='*:443:']

My question is, is there a command line option to get the certificate hash? So that I can automate the process. Your input will surely help.


Viewing all articles
Browse latest Browse all 26310

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>