Ca windows request

From UVOO Tech Wiki
Jump to navigation Jump to search
 Uninstall-AdcsCertificationAuthority
;----------------- request.inf -----------------

[Version]
Signature="$Windows NT$"

[NewRequest]
Subject = "C=US, CN=something.example.com"

KeySpec = 1
KeyLength = 2048
Exportable = TRUE
MachineKeySet = TRUE
SMIME = False
PrivateKeyArchive = FALSE
UserProtected = FALSE
UseExistingKeySet = FALSE
ProviderName = "Microsoft RSA SChannel Cryptographic Provider"
ProviderType = 12
RequestType = PKCS10
KeyUsage = 0xa0
HashAlgorithm = SHA256

[EnhancedKeyUsageExtension]
OID=1.3.6.1.5.5.7.3.1 ; this is for Server Authentication / Token Signing
;-----------------------------------------------
certreq -new request.inf request.csr
certutil setreg ca\CRLFlags +CRLF_REVCHECK_IGNORE_OFFLINE
certreq -submit -config request.inf -attrib "CertificateTemplate:uvoo Web Server" request.csr