Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 847 Bytes

File metadata and controls

19 lines (14 loc) · 847 Bytes

windows-scripts

Simple Purpose Scripts for Windows

Deploy Certificate

Purpose of the deploy_certificate script is to deploy renewed certificate to remote system.

Features

  • Deploys TLS certificate in PEM format to Windows "personal" certificate store ( Local Machine \ My )
  • Optionally deploys intermediate certificate to Windows "intermediate" certificate store ( Local Machine \ CA )
  • Assigns private key to the imported certificate if key was already present ( by running CertUtil.exe )
  • Optionally assigns imported certificate to the IIS Binding
  • Possible to deploy the certificate(s) on remote computer

Usage

DeployCertificate.ps1 -CertificatePath PATHTOCERT [ -IntermediateCertificatePath PATHTOINTEREMEDIATECERT ] [ -IisBindingName IISBINDINGNAME ] [ -ComputerName REMOTECOMPUTER ]