Re: X509_build_chain() - Re: Request for Openssl APIs to be used to sort the certificate chain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks a lot Viktor and David for your answers.

On Tue, Oct 10, 2023 at 1:32 AM Viktor Dukhovni <openssl-users@xxxxxxxxxxxx> wrote:
On Mon, Oct 09, 2023 at 09:45:35PM +0530, Brahmaji K wrote:

> If I got the certificate chain out of order [...], then is there a
> direct way (i.e., with[out?] any openssl API(s)), we can create the
> certificates chain in the correct order as - Cert 4 || Cert 3 || Cert
> 2 || Cert 1?

It seems, you're looking for a CLI feature, that would not require
writing code.  That's a missing feature of the openssl-verify(1)
command.  It has a `-show_certs` option that prints just the
distinguished names of the certificates in constructed chain,
but has no `-print_certs` function that would instead just
output the constructed chain.

This would make a good entry-level contribution to the OpenSSL project.

--
    Viktor.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux