I created a self signed openssl certificate using the below commads.
- openssl genrsa -des3 -out server.key 2048
- openssl rsa -in server.key -out server.key
- openssl req -sha256 -new -key server.key -out server.csr -subj '/CN=localhost'
- openssl x509 -req -sha256 -days 10 -in server.csr -signkey server.key -out
- cat server.crt server.key > cert.pem
Using the cert.pem and RSA_sign function I created a signature after the certificate expired ( after 10 days )
The RSA_verify of the above signature still succeeds. Can you help me with this?
Best regards, Poornima.M