Last active
February 23, 2018 13:11
-
-
Save Celoxocis/72bcb83f304aeb0e895ad46dc9c74e01 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# On RootCA | |
Add-WindowsFeature Adcs-Cert-Authority -IncludeManagementTools | |
Install-AdcsCertificationAuthority -CAType StandaloneRootCA -CACommonName "Bedrock Root Certificate Authority" -KeyLength 4096 -HashAlgorithm SHA256 -CryptoProviderName "RSA#Microsoft Software Key Storage Provider" -ValidityPeriod Years -ValidityPeriodUnits 20 -Force | |
# On SubCA | |
Add-WindowsFeature Adcs-Cert-Authority -IncludeManagementTools | |
Install-AdcsCertificationAuthority -CAType EnterpriseSubordinateCA -CACommonName "Bedrock Enterprise Certificate Authority" -KeyLength 4096 -HashAlgorithm SHA256 -CryptoProviderName "RSA#Microsoft Software Key Storage Provider" -Force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment