openssl verify -CAfile ca.crt server.crt

Category: Self-Hosting

openssl verify -CAfile ca.crt server.crt

Verify that a certificate was signed by a specific Certificate Authority

Verifies that a certificate's signature chain leads to your CA. Use this to confirm a certificate was signed by the right authority.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.