-
Notifications
You must be signed in to change notification settings - Fork 6
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
Error: failed to load key manager: error initializing PKCS#11: could not open PKCS#11 only when I running step kms outside of pod in k8s #45
Comments
further investigation reveals ptk itself fails when it called via sorry for noise!
|
@umegaya glad it works on a Thales ProtectServer 3, I don't have access to those. |
@maraino finally I solved the problem. root cause is we need to load now smallstep could run with redundant 2 Protect Server 3+ External and create certificate flawlessly. thanks! |
hi, we try to use step-ca with Thales Proect Server 3+ External with Protect Tool Kit (PTK) 7.2.0.
with PTK emurator mode (did not use actual hardware),
step kms sign
can create token inside/outside of kubernetes pod without any problem, by usingkubectl exec -ti $pod_name
. like followingbut with actual hardware (
Thales Proect Server 3+ External
), we got following error. we believe we did setup hsm correctly, because we could create step-ca's root-ca/intermediate-ca key object into the HSM by usingstep certificate create
.strange thing, if I run the command after logged into pods, error does not happen.
not only
step kms sign
but also other command that access to actual hardware (Thales Proect Server 3+ External
) likestep kms encrypt
got same error.any idea why these commands fails only when run from outside of container (by using
kubectl exec -ti $pod -- $command
)?regards,
The text was updated successfully, but these errors were encountered: