Reputation: 1
I have a root certificate which I created based on a previously provided keypair (private & public). The certificate is called Root CA in file rootca.crt
.
I've now been tasked with verifying a given signature with the Root CA.
I'm fairly sure this needs to be done through X509 but I'm not familiar with the command? The signature which I need to verify was supplied in Base64 and I've decoded it and converted to binary, so I believe the final step I'm missing is an OpenSSL X509 verify command, but that doesn't seem to exist?
Any advice would be appreciated, cheers.
Upvotes: 0
Views: 3496
Reputation: 5644
Use the openssl verify
command.
openssl verify -CAfile rootca.crt certificate
See also the verify(1)
man page.
Upvotes: 1