Skip to content
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

maybe just a question, the keyfile cannot set to a secure element engine #2959

Open
jiangpen opened this issue Dec 1, 2023 · 2 comments
Open

Comments

@jiangpen
Copy link

jiangpen commented Dec 1, 2023

I verified I can do below when to bridge mosquitto
bridge_keyfile pkcs11:model=ATECC608A;manufacturer=Microchip%20Technology%20Inc;serial=xxxxxxx;token=00xx;object=device;type=private
but when I do the same for keyfile, it does not work:
keyfile pkcs11:model=ATECC608A;manufacturer=Microchip%20Technology%20Inc;serial=xxxxxxx;token=00xx;object=device;type=private
show error of:

Unable to load module (null)
Unable to load module (null)
PKCS11_get_private_key returned NULL
1701408790: Error: Unable to load engine private key file "pkcs11:model=ATECC608A;manufacturer=Microchip%20Technology%20Inc;serial=xxxxx;token=00xxx;object=.
1701408790: OpenSSL Error[0]: error:81065401:libp11:pkcs11_CTX_load:Unable to load PKCS#11 module
1701408790: OpenSSL Error[1]: error:26096080:engine routines:ENGINE_load_private_key:failed loading private key

anyone know the difference? thanks

@asconcepcion
Copy link

I'm also getting this error. Is there any solution for this?

@asconcepcion
Copy link

Could it be that there is not PKCS11 support for bridge connections?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants