Skip to content

Instantly share code, notes, and snippets.

@Apoc70
Created June 16, 2018 17:39
Show Gist options
  • Save Apoc70/328a3f5298bbb604c7f811b0d16b0f51 to your computer and use it in GitHub Desktop.
Save Apoc70/328a3f5298bbb604c7f811b0d16b0f51 to your computer and use it in GitHub Desktop.
Beispiel einer .inf-Datei für die Erstellung eines SAN-Zertifikates
[Version]
Signature="$Windows NT$"
[NewRequest]
Subject = "CN=mail.varunagroup.de,OU=IT,O=Varunagroup AG,L=Berlin,S=BE,C=DE" ; Remove to use an empty Subject name.
Exportable = TRUE ; TRUE = Private key is exportable
KeyLength = 2048 ; Valid key sizes: 1024, 2048, 4096, 8192, 16384
KeySpec = 1 ; Key Exchange – Required for encryption
KeyUsage = 0xA0 ; Digital Signature, Key Encipherment
MachineKeySet = True
ProviderName = "Microsoft RSA SChannel Cryptographic Provider"
RequestType = PKCS10 ; or CMC.
HashAlgorithm=sha256
KeyAlgorithm=RSA
[EnhancedKeyUsageExtension]
; If you are using an enterprise CA the EnhancedKeyUsageExtension section can be omitted
OID=1.3.6.1.5.5.7.3.1 ; Server Authentication
OID=1.3.6.1.5.5.7.3.2 ; Client Authentication
[Extensions]
2.5.29.17 = "{text}"
_continue_ = "dns=mail.varunagroup.de&"
_continue_ = "dns=smtp.varunagroup.de&"
_continue_ = "dns=ews.varunagroup.de&"
_continue_ = "dns=service.varunagroup.de&"
_continue_ = "dns=webmail.varunagroup.de&"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment