How to verify a certificate chain?

Kindly let me know how can I verify the certificate chain using openssl command in linux. I have public certificate of application server and CA root server. Please let me know if there is a way to verify it. Thanks
beer9Asked:
Who is Participating?
 
cyberstalkerConnect With a Mentor Commented:
openssl verify -CAfile [file] [certificate file]
0
 
yjchong514Connect With a Mentor Commented:
Refer
http://www.madboa.com/geek/openssl/

Good Luck!

Rgds,

yjchong514
0
 
beer9Author Commented:
I am getting below error:

$ openssl verify -CAfile ca.crt.pem /tmp/user_id.crt.pem
/tmp/user_id.crt.pem: /CN=user_id
error 20 at 0 depth lookup:unable to get local issuer certificate

Open in new window

0
All Courses

From novice to tech pro — start learning today.