forderud / WindowsClientAuth

Windows examples of certificates for client authentication in web and TLS socket scenarios
MIT License
3 stars 0 forks source link

Convert cert generation script to OpenSSL #4

Closed forderud closed 2 years ago

forderud commented 2 years ago

The GenerateCertificates.bat script is currently using a mix of Windows certificate tools (makecert, pvk2pfx) and OpenSSL. The reason for the mix is that makecert, pvk2pfx were originally used but I had to switch to OpenSSL to add the "subjectAltName" extension.

It would probably be cleaner to convert the script fully to OpenSSL, so that we avoid the mix. This will also make the script more cross-platform.

forderud commented 2 years ago

Closing, since it's probably better to do as much as possible using Windows tooling, since this repo primarily focuses on Windows.