Results 1 to 3 of 3

Thread: Adding a custom CA certificate

  1. #1
    Join Date
    Jul 2008
    Location
    San Diego, CA
    Posts
    193

    Default Adding a custom CA certificate

    I need to add a custom ca certificate to run a specific application.

    How do I add the certificate? Where do I put the file and what might I have to do after the file is in place so the system sees it?

    I'm running 12.3.

    Thanks in advance.

  2. #2

    Default Re: Adding a custom CA certificate

    On 03/14/2014 10:06 PM, ccin1492 pecked at the keyboard and wrote:
    > I need to add a custom ca certificate to run a specific application.
    >
    > How do I add the certificate? Where do I put the file and what might I
    > have to do after the file is in place so the system sees it?
    >
    > I'm running 12.3.
    >
    > Thanks in advance.
    >
    >


    My crystal ball says to put the file #$%^&* POOF

    It blew up trying to figure what the mystery application was. Perhaps
    someone else has a better crystal ball :-)

    Ken

  3. #3
    Join Date
    Jul 2008
    Location
    San Diego, CA
    Posts
    193

    Default Re: Adding a custom CA certificate

    The name of the application is irrelevant.

    Anyway, I think I figured it out:

    • I placed the certificate here: /usr/share/ca-certificates/custom/Thawte_CS_CA_G2.crt (the directory custom didn't exist, so I created it).
    • created file "/etc/ca-certificates.conf" and added line "custom/Thawte_CS_CA_G2.crt".
    • finally I ran update-ca-certificate as root.


    The last step created a link to the certificate in /etc/ssl/certs.

    Code:
    > ll /etc/ssl/certs/Thawte_CS_CA_G2.pem 
    lrwxrwxrwx 1 root users 53 Mar 14 19:25 /etc/ssl/certs/Thawte_CS_CA_G2.pem -> /usr/share/ca-certificates/custom/Thawte_CS_CA_G2.crt
    Note: I'm not quite sure if the second step was necessary. Maybe someone more knowledgeable about this can comment.

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •