-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows certificate generation #9
Comments
OpenSSL installed via chocolatey loads configuration from Config (from here where someone appears to have got pkcs11 and windows working):
However Running
Maybe the chocolatey version of openssl isn't built with pkcs11 support? could try compiling myself or another build. |
edit: actually due to invoking the wrong openssl instance (in WSL)... |
Building libp11In the x64 (!!) developer terminal:
Win64 / VS2019 outputs libp11.zip, Using chocolatey: Openssl configuration:
Updating |
omg it works! Using openssl for everything for consistency / since we have it loaded anyway.
|
Client certificate generation using windows is required for production-line deployment.
OpenSC provide a minidriver and pkcs#11 module for windows, providers can be listed using
certutil -csplist
Request information specified using INF files:
Create a CSR using
certreq -new client.inf client.req
Signing via
certutil -sign .\client.req client.crt
locates the correct certificate, but, fails with:And I don't know how to get the private key in this instance either...
Possibly should try using openssl with opensc-pkcs#11 :-/
The text was updated successfully, but these errors were encountered: