HSM: is it possible to derive a public key from a RSA private key

If you are allowed to use the key, you can request a certificate (for example using OpenSSL PKCS#11 engine https://github.com/OpenSC/OpenSC/wiki/SmartCardHSM#using-openssl-with-engine-pkcs11 ) and the X.509 (or PKCS#10) structure will contain your public key.

1 Like