Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

Binding an SSL Cert to a WEB site via script

$
0
0

Hello

I am learning how to access and manipulate SSL Certs and Microsoft CA via PowerShell e.g. create CSR, Submit CSR, Approve CSR, Retrieve Cert to a .cer or pfx file etc. All well and good.

However the last step to creating a CSR, Submitting the CSR, Approving the CSR and Retriving the Cert is to bind the resulting cert.cer to the actual WEB Site itself, because from what I have learnt so far the actual CSR request is not made by the WEB sites itself (even though performing from from say IIS Admin GUI, when dealing with the WEB site in question) but rather the CSR is created by the Server on which the WEB Site sits. The resulting certificate is then stored in the LocalMachine\My x509 store. The last step is to bind said cert to the WEB site in question. 

So my question is please, what actually happens when performing this binding process, it is just an entry in the web.config file or regsitry? or both? If so then I should be able to do this via PowerShell, or does someone all ready have a script to perform this binding action?

I would be very grateful for any help on this, thanks all in advance

Ernie


Viewing all articles
Browse latest Browse all 780

Trending Articles



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