Skip to content

Instantly share code, notes, and snippets.

@Saket-Upadhyay
Created October 8, 2021 03:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Saket-Upadhyay/e0a94ee2cda1da095e0dbb401caca071 to your computer and use it in GitHub Desktop.
Save Saket-Upadhyay/e0a94ee2cda1da095e0dbb401caca071 to your computer and use it in GitHub Desktop.
Initialization file for CSR generation, to be used in my article on the same topic.
[Version]
Signature= "$Windows NT$"
[NewRequest]
Subject = "CN=*.mydomain.com, OU=My Name, O=Organisation Name,Email=myemail@domain.com,L=New Delhi, S=Delhi, C=IN"
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
[EnhancedKeyUsageExtension]
OID=1.3.6.1.5.5.7.3.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment