how, if its possible to create a self signed key and certifactes using openssl with RSASSA-PSS (RFC 4065)?
I managed to use a existing (non-RSASSA-PSS) certificate with this padding mode:
Signing
openssl dgst -sha256 -sign privateKey.pem -sigopt rsa_padding_mode:pss -sigopt rsa_pss_saltlen:-1 -out pss.sha256 test.txt
Verifying
openssl dgst -sha256 -verify pubkey.pem -sigopt rsa_padding_mode:pss -sigopt rsa_pss_saltlen:-1 -signature pss.sha256 test.txt
But I think these mode and saltlen should be (RFC 4065 must be) in the certificate?
If its not possible with openssl, what can I use instead?
Thank you.