Openssl: Generate CSR with NTDS CA Security Extension
To request a certificate with the exact Microsoft OID for Client Auth certs for the domain, you can use an openssl.cnf that resembles the following.
This also includes the SAN URI which is separate from the NTCS.
files/2024/listings/openssl.cnf (Source)
References
Weblinks
- [MS-WCCE]: szOID_NTDS_CA_SECURITY_EXT | Microsoft Learn
- x509 - Create own ASN.1 module for custom extension in OpenSSL command line tools - Stack Overflow
- /docs/man1.1.1/man3/ASN1_generate_nconf.html
- is it possible making openssl skipping the country/common name prompts? - Stack Overflow
- Preview of SAN URI for Certificate Strong Mapping for KB5014754 - Microsoft Community Hub
- KB5014754: Certificate-based authentication changes on Windows domain controllers - Microsoft Support
- certreq | Microsoft Learn
Comments