Confirm the PKCS #12 password is in your shell
The container needsPKCS11_P12 so the FXPKCS11 module can open client.p12. You pass it through from your shell, and /etc/profile.d scripts populate login shells only, so an empty variable is passed silently rather than reported as an error.
Shell
Start the CA
Run the container. Replace<CA-PASSWORD-FILE> with the path to the password file you created in Configure step-ca to use CryptoHub, for example /tmp/ca-password.txt.
Shell
Follow the container log and confirm the CA is serving:The startup output ends with:
Shell
Shell
Serving HTTPS on :9000 ... is the line that confirms the CA is up. If the container exits before printing it, the log line immediately above names the cause. See Troubleshooting.Confirm the CryptoHub session
The FXPKCS11 log is the proof that the CA reached the appliance rather than falling back to something local. The module writes it to the path in theLOG-FILE setting of fxpkcs11.cfg, and falls back to /tmp/fxpkcs11.log when it cannot write to that path.
Shell
The log records the module initializing, loading the TLS material from
/usr/local/lib/fxpkcs11, opening a session to your CryptoHub on port 2001, and logging in:Shell
sudo docker logs stepca and see Troubleshooting.
