Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] [solved] - Re: Adding a private ca certificate to openssl on centos
- Date: Wed, 08 Aug 2012 20:33:48 +0900
- From: Edward Middleton <edward.middleton@example.com>
- Subject: [tlug] [solved] - Re: Adding a private ca certificate to openssl on centos
- References: <50222965.6050507@vortorus.net> <CAKXLc7c=LEx0b0DcCOXuicV-RKCfEhSmJo7CZ2Jg6SuPoJsEAQ@mail.gmail.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120723 Thunderbird/14.0
On 08/08/2012 07:47 PM, Kalin KOZHUHAROV wrote:On Wed, Aug 8, 2012 at 5:55 PM, Edward Middleton <edward.middleton@example.com> wrote:Does anyone know how to at a private ca certificate to the centos/rhel ca certificate bundle so that it will be picked up by applications?No CentOS knowledge, but if I had to do that, I'll fire the debugger. Starting with `strace -f -e trace=file MY_APP_HERE 2>&1 |grep ENOENT` and looking for possible directories.Thanks, strace did the trick, but it was actually finding the file so ENOENT didn't help.It seems like you can either user a cert directory which works for wget ( cat <<'EOP' -----BEGIN CERTIFICATE----- -----END CERTIFICATE----- EOP ) >> /etc/pki/tls/certs/private-ca.crt cd /etc/pki/tls/certs/ ln -s private-ca.crt `openssl x509 -hash -noout -in private-ca.crt`.0or as suggested by Francois Cartegnie just cancatinating to the bundle which seems to be necessary for curl( cat <<'EOP' -----BEGIN CERTIFICATE----- -----END CERTIFICATE----- EOP ) >> /etc/pki/tls/certs/private-ca.crt cd /etc/pki/tls/certs/ openssl x509 -text -in private-ca.crt >> /etc/pki/tls/certs/ca-bundle.crtI prefer the former approach because I won't loose my certs when I upgrade the public bundle.Edward
- Follow-Ups:
- Re: [tlug] [solved] - Re: Adding a private ca certificate to openssl on centos
- From: Francois Cartegnie
- References:
- [tlug] Adding a private ca certificate to openssl on centos
- From: Edward Middleton
- Re: [tlug] Adding a private ca certificate to openssl on centos
- From: Kalin KOZHUHAROV
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Adding a private ca certificate to openssl on centos
- Next by Date: Re: [tlug] GPL vs. paid version and ethics
- Previous by thread: Re: [tlug] Adding a private ca certificate to openssl on centos
- Next by thread: Re: [tlug] [solved] - Re: Adding a private ca certificate to openssl on centos
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links