My questions are
- How to create
- a public key
- and private key with OpenSSL in windows?
- How to put the created public key
- in
.crt
file and - the private one in
.pcks8
file
- in
I want to use these two keys to sign a SAML assertion in Java.
Thanks in advance.
.crt
file) contains a public key, but a public key in itself is not a certificatei2d_RSAPrivateKey_bio
. An example of writing in all the formats is also given at How to generate RSA private key using OpenSSL?