Skip to content

Instantly share code, notes, and snippets.

@gjyoung1974
Last active February 4, 2017 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gjyoung1974/4c916b8eeb26200d4eaac8193f5f1379 to your computer and use it in GitHub Desktop.
Save gjyoung1974/4c916b8eeb26200d4eaac8193f5f1379 to your computer and use it in GitHub Desktop.
## Load the ServerManager
Import-Module ServerManager
## Install the ADCS Certification Authority Feature
Add-WindowsFeature Adcs-Cert-Authority
# Install an issuing ca with the appropriate properties
Install-AdcsCertificationAuthority -CAType EnterpriseSubordinateCa -OverwriteExistingDatabase -OverwriteExistingKey -OverwriteExistingCAinDS -CACommonName "ACME DEV Issuing Certification Authority" -CADistinguishedNameSuffix “DC=CORP, DC=ACME,DC=com” -CryptoProviderName "RSA#Microsoft Software Key Storage Provider" -KeyLength 2048 -HashAlgorithmName SHA256
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment