-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
pkcs11 docs #247
Comments
Her is a write-up for running CFSSL against softHSM (not better than using file based secrets security wise, but it exercises the pkcs11 code) in ten wonky steps. This is a proof-of-concept, do not use in production! WARNING HERE BE DRAGONSYou follow this outline at your own risk! If your HSM catches fire, it's on you. This write-up describes what worked once for me. It's not official. Horrible hacks abound. Not tested, only ran once on ubuntu 14.04.
Some commentary
Conceptual brokenness in the write-up above: Keys should be generated on the HSMIt bears repeating that the above write-up is how I did it, not how it should be done. In a production environment you want to create the key on the HSM (i.e., using |
It's also worth noting that certificate signing in go 1.4.2 (the latest stable) with an HSM won't work because the x509 library expects a |
I've produced a script to help with this: |
@jcjones Thanks for this; I'll include a link in the documentation. |
This will be handled in a separate repo. |
Hi, I recently attempted to follow these directions however the latest build doesn't seem to support pkcs#11. Any latest updates on how the PKCS#11 integration? I work for Thales (we manufacturer the nShield/nCipher HSMs) and trying to perform interop testing. Regards, |
The PKCS#11 code has been moved into a separate package, https://github.com/letsencrypt/pkcs11key. |
Hi, I tried to find documentation how to use cfssl with a HSM, but found the few bits of documentation rather unhelpful. What steps are needed to integrate the pcks#11 functionality in the letsencrypt repository with cfssl (via multirootca possibly)? Could this be configured or have the respesctive tools in cfssl to be patched to support pcks#11? Regards, |
@jsha , am I understand this well, the latest stable cfssl release does not have HSM support? |
@silveraid I believe that the |
How do you use a pkcs#11 module with cfssl?
The text was updated successfully, but these errors were encountered: