Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Apr 2010 10:19:02 -0600
From:      Adam Vande More <amvandemore@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Combining SSL certificates
Message-ID:  <z2r6201873e1004020919o1be59ee0g7657a0d4187ae9cc@mail.gmail.com>
In-Reply-To: <20100402110430.13bcdc03@scorpio.seibercom.net>
References:  <20100402110430.13bcdc03@scorpio.seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 2, 2010 at 9:04 AM, Jerry <freebsd.user@seibercom.net> wrote:

> Is it possible to combine all of the certificates in a chain into one
> *.pem file?
>
> EXAMPLE:
>
> openssl s_client -connect imap.gmail.com:993 -crlf -showcerts
>
> This would show, in this case anyway, two certificates. Could I combine
> both certs into on file, example: gmail-imap.pem and then run
> 'c_rehash' on the file or do I have to save both certs in separate
> files to complete the chain?
>

Doesn't it work to simply concatenate pem's together?  I was my
understanding it was possible to do that, but perhaps order of concatenation
matters.  So make sure you're dealing with pem's and cat together with root
being last and I think it should work.


-- 
Adam Vande More



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?z2r6201873e1004020919o1be59ee0g7657a0d4187ae9cc>