How can I add an SSL client certificate/key globally in Ubuntu?












4















I have a web server which requires a client certificate to establish an SSL connection (SSLVerifyClient require in apache). In firefox or chrome, I simply import the .p12-file containing my certificate in PKCS 12 format in the tab "Your Certificates", and this works like it should.



Now I want to use other applications, which afaik don't have the functionality to provide a client SSL certificate themselves (e.g. nautilus). I guess that there has to be a system-wide location where I can store my client certificate, but the only thing I find when googling is where to store CA certificates.



So my question is how can I add SSL client certificate / key files (either .p12 or .crt and .key I guess) so that they are used systemwide?










share|improve this question
















bumped to the homepage by Community 5 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • I'm looking for the answer to this as well. As fara as I can tell, nautilus or gnome does not offer an obvious way to include client certificates, or even custom certificate authorities.

    – JulioHM
    Aug 23 '14 at 3:17
















4















I have a web server which requires a client certificate to establish an SSL connection (SSLVerifyClient require in apache). In firefox or chrome, I simply import the .p12-file containing my certificate in PKCS 12 format in the tab "Your Certificates", and this works like it should.



Now I want to use other applications, which afaik don't have the functionality to provide a client SSL certificate themselves (e.g. nautilus). I guess that there has to be a system-wide location where I can store my client certificate, but the only thing I find when googling is where to store CA certificates.



So my question is how can I add SSL client certificate / key files (either .p12 or .crt and .key I guess) so that they are used systemwide?










share|improve this question
















bumped to the homepage by Community 5 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • I'm looking for the answer to this as well. As fara as I can tell, nautilus or gnome does not offer an obvious way to include client certificates, or even custom certificate authorities.

    – JulioHM
    Aug 23 '14 at 3:17














4












4








4


3






I have a web server which requires a client certificate to establish an SSL connection (SSLVerifyClient require in apache). In firefox or chrome, I simply import the .p12-file containing my certificate in PKCS 12 format in the tab "Your Certificates", and this works like it should.



Now I want to use other applications, which afaik don't have the functionality to provide a client SSL certificate themselves (e.g. nautilus). I guess that there has to be a system-wide location where I can store my client certificate, but the only thing I find when googling is where to store CA certificates.



So my question is how can I add SSL client certificate / key files (either .p12 or .crt and .key I guess) so that they are used systemwide?










share|improve this question
















I have a web server which requires a client certificate to establish an SSL connection (SSLVerifyClient require in apache). In firefox or chrome, I simply import the .p12-file containing my certificate in PKCS 12 format in the tab "Your Certificates", and this works like it should.



Now I want to use other applications, which afaik don't have the functionality to provide a client SSL certificate themselves (e.g. nautilus). I guess that there has to be a system-wide location where I can store my client certificate, but the only thing I find when googling is where to store CA certificates.



So my question is how can I add SSL client certificate / key files (either .p12 or .crt and .key I guess) so that they are used systemwide?







nautilus security ssl certificates






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 17 '13 at 8:50







Misch

















asked Mar 16 '13 at 19:22









MischMisch

12115




12115





bumped to the homepage by Community 5 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 5 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • I'm looking for the answer to this as well. As fara as I can tell, nautilus or gnome does not offer an obvious way to include client certificates, or even custom certificate authorities.

    – JulioHM
    Aug 23 '14 at 3:17



















  • I'm looking for the answer to this as well. As fara as I can tell, nautilus or gnome does not offer an obvious way to include client certificates, or even custom certificate authorities.

    – JulioHM
    Aug 23 '14 at 3:17

















I'm looking for the answer to this as well. As fara as I can tell, nautilus or gnome does not offer an obvious way to include client certificates, or even custom certificate authorities.

– JulioHM
Aug 23 '14 at 3:17





I'm looking for the answer to this as well. As fara as I can tell, nautilus or gnome does not offer an obvious way to include client certificates, or even custom certificate authorities.

– JulioHM
Aug 23 '14 at 3:17










1 Answer
1






active

oldest

votes


















0














You would need to install your cert under: /etc/ssl/certs. It would need to have the .crt extension. Your application would need to be configured to look in the /etc/ssl/certs path for the certs, but it should work. I have Fetchmail configured to pull reference /etc/ssl/certs.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f268637%2fhow-can-i-add-an-ssl-client-certificate-key-globally-in-ubuntu%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You would need to install your cert under: /etc/ssl/certs. It would need to have the .crt extension. Your application would need to be configured to look in the /etc/ssl/certs path for the certs, but it should work. I have Fetchmail configured to pull reference /etc/ssl/certs.






    share|improve this answer




























      0














      You would need to install your cert under: /etc/ssl/certs. It would need to have the .crt extension. Your application would need to be configured to look in the /etc/ssl/certs path for the certs, but it should work. I have Fetchmail configured to pull reference /etc/ssl/certs.






      share|improve this answer


























        0












        0








        0







        You would need to install your cert under: /etc/ssl/certs. It would need to have the .crt extension. Your application would need to be configured to look in the /etc/ssl/certs path for the certs, but it should work. I have Fetchmail configured to pull reference /etc/ssl/certs.






        share|improve this answer













        You would need to install your cert under: /etc/ssl/certs. It would need to have the .crt extension. Your application would need to be configured to look in the /etc/ssl/certs path for the certs, but it should work. I have Fetchmail configured to pull reference /etc/ssl/certs.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 12 '15 at 17:25









        Justin AndruskJustin Andrusk

        3,38511416




        3,38511416






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f268637%2fhow-can-i-add-an-ssl-client-certificate-key-globally-in-ubuntu%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            GameSpot

            connect to host localhost port 22: Connection refused

            Getting a Wifi WPA2 wifi connection