(Remember to start a new thread, not replying to some ancient
thread).

(Remember to put a non-blank subject in your mails, so we all
have an idea what is about)

On 10/22/2012 6:51 PM, Kevin Butters wrote:
Is there an SSL command that can be used to display CA cert information
extracted from the certificate path associated with a cert?


This is usually a two step process:

1. Find the certs in the CA path.  Depending on what you have,
you could use one of the following commands

  openssl verify -verbose -purpose any somecertificate.pem

  openssl s_client -connect someserver.example.com:443 -showcerts < NUL

  openssl pkcs7 -noout -print_certs -text -in somemail.pem

  openssl cms (some args) somemail.pem

2. Display each certificate with the command

  openssl x509 -noout -text -in onecert.pem

Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  http://www.wisemo.com
Transformervej 29, 2730 Herlev, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org
  • [no subject] Kevin Butters
    • Re: How to display certs from CA path Jakob Bohm

Reply via email to