Should I add certificates to /usr/share/ca-certificates? Unicorn Meta Zoo #1: Why another...

Was Objective-C really a hindrance to Apple software development?

What helicopter has the most rotor blades?

Simulate round-robin tournament draw

All ASCII characters with a given bit count

How did Elite on the NES work?

What is the term for extremely loose Latin word order?

Coin Game with infinite paradox

Does Prince Arnaud cause someone holding the Princess to lose?

Getting AggregateResult variables from Execute Anonymous Window

What is /etc/mtab in Linux?

/bin/ls sorts differently than just ls

Protagonist's race is hidden - should I reveal it?

How would it unbalance gameplay to rule that Weapon Master allows for picking a fighting style?

Did war bonds have better investment alternatives during WWII?

Are these square matrices always diagonalisable?

Is there a verb for listening stealthily?

Does a Draconic Bloodline sorcerer's doubled proficiency bonus for Charisma checks against dragons apply to all dragon types or only the chosen one?

Writing a T-SQL stored procedure to receive 4 numbers and insert them into a table

When does Bran Stark remember Jamie pushing him?

Where to find documentation for `whois` command options?

What to do with someone that cheated their way though university and a PhD program?

How would you suggest I follow up with coworkers about our deadline that's today?

What *exactly* is electrical current, voltage, and resistance?

What is the evidence that custom checks in Northern Ireland are going to result in violence?



Should I add certificates to /usr/share/ca-certificates?



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionCreating a Debian package that does not remove directories after it's purgedAdd cacert certificates to kopeteGenerating server and client certificates with multiple hostnamesAdd a single key to to CA certificates from an automated scriptAdding certificates to trusted CA on FedoraImport certificates in TomcatInstall root SSL certificateODBC Authentication with .pem files on Ubuntu server with PythonCorrect procedure to add new client certificates?“SSL certificate validation failure” when verifying wildcard server certificate in MariaDB 5.5What certificate format does /usr/local/share/ca-certificates accept?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I try to automate to adding a certificate on an Ubuntu server 14.04 with puppet or a one liner command.



I added certificates manually with these commands :



mkdir  /usr/share/ca-certificates/extra
cp toto.crt /usr/share/ca-certificates/extra/toto.crt
sudo dpkg-reconfigure ca-certificates


I tried the command : update-ca-certificates but it didn't update my /etc/ssl/certs/ca-certificates.crt.



I tried too the command : sudo dpkg-reconfigure ca-certificates (with and without the option -f noninteractive) but i can't to accept all my certificates automatically.










share|improve this question































    1















    I try to automate to adding a certificate on an Ubuntu server 14.04 with puppet or a one liner command.



    I added certificates manually with these commands :



    mkdir  /usr/share/ca-certificates/extra
    cp toto.crt /usr/share/ca-certificates/extra/toto.crt
    sudo dpkg-reconfigure ca-certificates


    I tried the command : update-ca-certificates but it didn't update my /etc/ssl/certs/ca-certificates.crt.



    I tried too the command : sudo dpkg-reconfigure ca-certificates (with and without the option -f noninteractive) but i can't to accept all my certificates automatically.










    share|improve this question



























      1












      1








      1


      1






      I try to automate to adding a certificate on an Ubuntu server 14.04 with puppet or a one liner command.



      I added certificates manually with these commands :



      mkdir  /usr/share/ca-certificates/extra
      cp toto.crt /usr/share/ca-certificates/extra/toto.crt
      sudo dpkg-reconfigure ca-certificates


      I tried the command : update-ca-certificates but it didn't update my /etc/ssl/certs/ca-certificates.crt.



      I tried too the command : sudo dpkg-reconfigure ca-certificates (with and without the option -f noninteractive) but i can't to accept all my certificates automatically.










      share|improve this question
















      I try to automate to adding a certificate on an Ubuntu server 14.04 with puppet or a one liner command.



      I added certificates manually with these commands :



      mkdir  /usr/share/ca-certificates/extra
      cp toto.crt /usr/share/ca-certificates/extra/toto.crt
      sudo dpkg-reconfigure ca-certificates


      I tried the command : update-ca-certificates but it didn't update my /etc/ssl/certs/ca-certificates.crt.



      I tried too the command : sudo dpkg-reconfigure ca-certificates (with and without the option -f noninteractive) but i can't to accept all my certificates automatically.







      ubuntu certificates puppet






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 4 hours ago









      Evan Carroll

      6,309124689




      6,309124689










      asked Jun 23 '15 at 15:36









      Damien GoldenbergDamien Goldenberg

      813




      813






















          1 Answer
          1






          active

          oldest

          votes


















          1














          According to How do you add a certification authority to ubuntu you should copy to /usr/local/share/ca-certificates (note local) not /usr/share/ca-certificates/extra.






          share|improve this answer


























          • or you can create a package that includes a certificate: unix.stackexchange.com/a/215300/120177 , upload this package to your local repo, and install with apt-get

            – Evgeny Vereshchagin
            Jul 11 '15 at 17:33












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f211628%2fshould-i-add-certificates-to-usr-share-ca-certificates%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









          1














          According to How do you add a certification authority to ubuntu you should copy to /usr/local/share/ca-certificates (note local) not /usr/share/ca-certificates/extra.






          share|improve this answer


























          • or you can create a package that includes a certificate: unix.stackexchange.com/a/215300/120177 , upload this package to your local repo, and install with apt-get

            – Evgeny Vereshchagin
            Jul 11 '15 at 17:33
















          1














          According to How do you add a certification authority to ubuntu you should copy to /usr/local/share/ca-certificates (note local) not /usr/share/ca-certificates/extra.






          share|improve this answer


























          • or you can create a package that includes a certificate: unix.stackexchange.com/a/215300/120177 , upload this package to your local repo, and install with apt-get

            – Evgeny Vereshchagin
            Jul 11 '15 at 17:33














          1












          1








          1







          According to How do you add a certification authority to ubuntu you should copy to /usr/local/share/ca-certificates (note local) not /usr/share/ca-certificates/extra.






          share|improve this answer















          According to How do you add a certification authority to ubuntu you should copy to /usr/local/share/ca-certificates (note local) not /usr/share/ca-certificates/extra.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 20 '17 at 10:18









          Community

          1




          1










          answered Jun 24 '15 at 8:18









          rockyrocky

          1,496516




          1,496516













          • or you can create a package that includes a certificate: unix.stackexchange.com/a/215300/120177 , upload this package to your local repo, and install with apt-get

            – Evgeny Vereshchagin
            Jul 11 '15 at 17:33



















          • or you can create a package that includes a certificate: unix.stackexchange.com/a/215300/120177 , upload this package to your local repo, and install with apt-get

            – Evgeny Vereshchagin
            Jul 11 '15 at 17:33

















          or you can create a package that includes a certificate: unix.stackexchange.com/a/215300/120177 , upload this package to your local repo, and install with apt-get

          – Evgeny Vereshchagin
          Jul 11 '15 at 17:33





          or you can create a package that includes a certificate: unix.stackexchange.com/a/215300/120177 , upload this package to your local repo, and install with apt-get

          – Evgeny Vereshchagin
          Jul 11 '15 at 17:33


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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%2funix.stackexchange.com%2fquestions%2f211628%2fshould-i-add-certificates-to-usr-share-ca-certificates%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

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...