[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 752
  • Last Modified:

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
0
beer9
Asked:
beer9
2 Solutions
 
cyberstalkerCommented:
openssl verify -CAfile [file] [certificate file]
0
 
yjchong514Commented:
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

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now