Skip to content

Instantly share code, notes, and snippets.

@Apoc70
Last active September 13, 2023 13:13
Show Gist options
  • Save Apoc70/4910adf5560b440c397c9ab8cc8112a8 to your computer and use it in GitHub Desktop.
Save Apoc70/4910adf5560b440c397c9ab8cc8112a8 to your computer and use it in GitHub Desktop.
Beispiel einer .inf-Datei für die Erstellung eines Einzelnamen-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]
; Not required when creating a single name certificate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment