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

Setting up a Central Certificate Store with PowerShell

$
0
0

I am trying to set up a central certificate store for SSL and configure a web server to use it. I have the central cert store setup (and visible via the IIS MMC). The one thing I can not do is to set the bindings to enable a site to use SSL with the web site's cert from the CCS. 

With a local cert, I'd do this:

$WBHT = @{Name = 'Default Web Site' ;Protocol = 'https';SslFlags = 2;Port = 443}
New-WebBinding @WBHT

$Cert = Get-Childitem Cert:...    # get the cert for the server

$Cert | New-Item -Path IIS:\SslBindings\0.0.0.0!443

How do I do this for CCS based certs?


Viewing all articles
Browse latest Browse all 780

Trending Articles



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