Generate Key Pair
A private and public key pair is used for signing the DPoP proofs. To create a key pair, run the following command:
openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:2048
openssl rsa -in private_key.pem -out public_key.pem -pubout
This command generates a file named private_key.pem
, which contains the private key, and a file named public_key.pem
, which contains the corresponding public key.