You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
command: ./tpm2tss-genkey -a rsa -s 2048 -P 0x81000000 mykey
and then extract the public key using the following command.
openssl rsa -engine tpm2tss -inform engine -in mykey -pubout -outform pem -out mykey.pub
For client connections I use the command: openssl s_client -engine tpm2tss -connect example.com:9200 -CAfile ~/myCA.pem -cert client-crt.signedby.myca.pem -keyform engine -key mykey
Is there any way I can decrypt the mykey to a RSA key or use the public key for client connections as my app needs it to be in RSA format and the check for it, the code where it is failing is as below
The text was updated successfully, but these errors were encountered:
I am using tpm2tss for secure communication
command: ./tpm2tss-genkey -a rsa -s 2048 -P 0x81000000 mykey
and then extract the public key using the following command.
openssl rsa -engine tpm2tss -inform engine -in mykey -pubout -outform pem -out mykey.pub
For client connections I use the command: openssl s_client -engine tpm2tss -connect example.com:9200 -CAfile ~/myCA.pem -cert client-crt.signedby.myca.pem -keyform engine -key mykey
Is there any way I can decrypt the mykey to a RSA key or use the public key for client connections as my app needs it to be in RSA format and the check for it, the code where it is failing is as below
The text was updated successfully, but these errors were encountered: