rembik / update-iis-certificate Goto Github PK
View Code? Open in Web Editor NEWPowerShell script for automation certificate deployment on MS IIS webserver
License: MIT License
PowerShell script for automation certificate deployment on MS IIS webserver
License: MIT License
thanks for this nice script and can so much time in bigger environment,
little thing which would be great, would be to support unc network path where the certs are placed.
PS C:\Users\username> .\update-iis-certificate.ps1 .\mydomain.no.pfx -CertSubject "CN=*.mydomain.no" -PFXPassword "secret_passwd"
Transcript started, output file is C:\windows\Temp\update-iis-certificate-2020-09-10T13-00-44.txt
Logging to C:\windows\Temp\update-iis-certificate-2020-09-10T13-00-44.txt:
+++ Start Certificate Update +++
Loading the Web Administration Module...
Locating the current(old) certificate in store...
Unable to locate current(old) certificate in store!
Importing certificate into store...
Imported certificate:
PSParentPath: Microsoft.PowerShell.Security\Certificate::LocalMachine\My
Thumbprint Subject
44D35E0954929AB4357404E81FB9EC8E35BBE82F CN=*.mydomain.no
PS C:\Users\username> dir Cert:\LocalMachine\My
PSParentPath: Microsoft.PowerShell.Security\Certificate::LocalMachine\My
Thumbprint Subject
F7DE5FABC06AB240E4A3DABB3D95360842E6ADFA DC=Windows Azure CRP Certificate Generator
01F367EB2A4ABCBCC8364C8975D2919EE332AE8E CN=.mydomain.no
44D35E0954929AB435740ABC1FB9EC8E35BBE82F CN=.mydomain.no
As you can see, the certificate is imported, but the binding(s) in IIS is not happening.
Any suggestions would be helpful. Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.