-
-
Notifications
You must be signed in to change notification settings - Fork 781
Open
Description
I'm working with the pkcs11-provider for OpenSSL 3; one way to use the provider is via a URI; openssl internally will make use of OSSL_STORE_INFO_get1_PKEY
after getting a ctw and store info to get the provider key and use it internally. I can't see any function on PKey
or a store module, so I'm wondering if that's possible with the library
For example, this command works with OpenSSL, but I'm unsure if -key "pkcs11:type=private;id=%00%01"
will translate into rust-openssl
openssl req -new -x509 -days 365 -subj '/CN=my key/' -sha256 -provider pkcs11 -key "pkcs11:type=private;id=%00%01" -out cert.pem
Thank you!
Metadata
Metadata
Assignees
Labels
No labels