How do I use a P7B file with Ubuntu?Problems importing own CA CertificateCan't add intermediate cert to ca-certificates.crt via /usr/local/share/ca-certificatesUbuntu Server 16.04 Letsencrypt SSL Website Configuration FileInstalling CA Cert fails with no errorCA root install issue on Ubuntu 16.04 LTS ServerHow to enable ssl in NGINX using Goddady certificate?

What's the greatest number of hands I can have to annoy my mother-in-law with?

Students using the same flawed online solution sheet as the grading TA

Why are the Democrats & Republicans so homogeneous in their opinions of impeaching Trump?

How to deal with this fundamental problem with the advice: "Don't trust obscure PHP libraries that nobody uses!"?

Why is 1>a.txt 2>&1 different from 1>a.txt 2>a.txt ? (Example shown)

Is expression ”宁愿...也不...“ belong only to book style or I can use it in simple conversation?

Is it safe to wear earplugs in flight?

Secure Implementation of Password Database

Solve unwanted white "waves" and "Pacman squares" in low-light picture - post using Google Photos

Can we use a Cryptographic hash function to generate infinite random numbers?

Was a four year-old forced to sleep on the floor of Leeds General Infirmary?

No transit zone at Linate airport. Couldn't get on connecting flight. Whose responsibility is it?

Finding the right insults

ReplaceList doesn't apply rules down to subparts

LP how to sum up positive free variables and negative free variables separately?

How to find the operand of a sinusoid?

Book about a space war between humans and an invader previously prisoner of a Dyson sphere

I am ask to complete my withdrawal transaction with COT fee of 1200 dollars

Definition of "worst point one percent"?

Sudden cheap travel?

Sleep for 1000 years

Is it possible for a tiger's tail to be taken off and replaced with a living cobra, with both creatures still alive?

How do successful undergraduate and PhD students differ?

What Lego set has the biggest box?



How do I use a P7B file with Ubuntu?


Problems importing own CA CertificateCan't add intermediate cert to ca-certificates.crt via /usr/local/share/ca-certificatesUbuntu Server 16.04 Letsencrypt SSL Website Configuration FileInstalling CA Cert fails with no errorCA root install issue on Ubuntu 16.04 LTS ServerHow to enable ssl in NGINX using Goddady certificate?






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









0


















Excuse my poor English and my ignorance about Ubuntu and Linux world in general.



I just received a .p7b file in order to connect with a private site through HTTPS. Using MS Windows, I just have to double-click that file and install it, but doing that with Ubuntu pops up a window where I could see all the details of certificate, then there were two buttons: "Close", that is the only one I can press, and "Import", that is gray and therefore useless.



So I searched around the Internet for a solution, then copied the .p7b file in /usr/local/share/ca-certificates/ and ran update-ca-certificates with root permission. Nonetheless, if I tried to connect that site, Chrome gives me a NET::ERR_CERT_AUTHORITY_INVALID. If I run againt update-ca-certificates, output is still the same it was the first time:



Updating certificates in /etc/ssl/certs...
7 added, 7 removed; done.
Running hooks in /etc/ca-certificates/update.d...

Adding debian:Entrust.net_Secure_Server_CA.pem
Adding debian:GTE_CyberTrust_Global_Root.pem
Adding debian:RSA_Root_Certificate_1.pem
Adding debian:Thawte_Premium_Server_CA.pem
Adding debian:Thawte_Server_CA.pem
Adding debian:ValiCert_Class_1_VA.pem
Adding debian:ValiCert_Class_2_VA.pem
Removing debian:Entrust.net_Secure_Server_CA.pem
Removing debian:GTE_CyberTrust_Global_Root.pem
Removing debian:RSA_Root_Certificate_1.pem
Removing debian:Thawte_Premium_Server_CA.pem
Removing debian:Thawte_Server_CA.pem
Removing debian:ValiCert_Class_1_VA.pem
Removing debian:ValiCert_Class_2_VA.pem
done.
done.


Then I'm totally stuck... can you help me please?
Thanks!










share|improve this question

































    0


















    Excuse my poor English and my ignorance about Ubuntu and Linux world in general.



    I just received a .p7b file in order to connect with a private site through HTTPS. Using MS Windows, I just have to double-click that file and install it, but doing that with Ubuntu pops up a window where I could see all the details of certificate, then there were two buttons: "Close", that is the only one I can press, and "Import", that is gray and therefore useless.



    So I searched around the Internet for a solution, then copied the .p7b file in /usr/local/share/ca-certificates/ and ran update-ca-certificates with root permission. Nonetheless, if I tried to connect that site, Chrome gives me a NET::ERR_CERT_AUTHORITY_INVALID. If I run againt update-ca-certificates, output is still the same it was the first time:



    Updating certificates in /etc/ssl/certs...
    7 added, 7 removed; done.
    Running hooks in /etc/ca-certificates/update.d...

    Adding debian:Entrust.net_Secure_Server_CA.pem
    Adding debian:GTE_CyberTrust_Global_Root.pem
    Adding debian:RSA_Root_Certificate_1.pem
    Adding debian:Thawte_Premium_Server_CA.pem
    Adding debian:Thawte_Server_CA.pem
    Adding debian:ValiCert_Class_1_VA.pem
    Adding debian:ValiCert_Class_2_VA.pem
    Removing debian:Entrust.net_Secure_Server_CA.pem
    Removing debian:GTE_CyberTrust_Global_Root.pem
    Removing debian:RSA_Root_Certificate_1.pem
    Removing debian:Thawte_Premium_Server_CA.pem
    Removing debian:Thawte_Server_CA.pem
    Removing debian:ValiCert_Class_1_VA.pem
    Removing debian:ValiCert_Class_2_VA.pem
    done.
    done.


    Then I'm totally stuck... can you help me please?
    Thanks!










    share|improve this question





























      0













      0









      0








      Excuse my poor English and my ignorance about Ubuntu and Linux world in general.



      I just received a .p7b file in order to connect with a private site through HTTPS. Using MS Windows, I just have to double-click that file and install it, but doing that with Ubuntu pops up a window where I could see all the details of certificate, then there were two buttons: "Close", that is the only one I can press, and "Import", that is gray and therefore useless.



      So I searched around the Internet for a solution, then copied the .p7b file in /usr/local/share/ca-certificates/ and ran update-ca-certificates with root permission. Nonetheless, if I tried to connect that site, Chrome gives me a NET::ERR_CERT_AUTHORITY_INVALID. If I run againt update-ca-certificates, output is still the same it was the first time:



      Updating certificates in /etc/ssl/certs...
      7 added, 7 removed; done.
      Running hooks in /etc/ca-certificates/update.d...

      Adding debian:Entrust.net_Secure_Server_CA.pem
      Adding debian:GTE_CyberTrust_Global_Root.pem
      Adding debian:RSA_Root_Certificate_1.pem
      Adding debian:Thawte_Premium_Server_CA.pem
      Adding debian:Thawte_Server_CA.pem
      Adding debian:ValiCert_Class_1_VA.pem
      Adding debian:ValiCert_Class_2_VA.pem
      Removing debian:Entrust.net_Secure_Server_CA.pem
      Removing debian:GTE_CyberTrust_Global_Root.pem
      Removing debian:RSA_Root_Certificate_1.pem
      Removing debian:Thawte_Premium_Server_CA.pem
      Removing debian:Thawte_Server_CA.pem
      Removing debian:ValiCert_Class_1_VA.pem
      Removing debian:ValiCert_Class_2_VA.pem
      done.
      done.


      Then I'm totally stuck... can you help me please?
      Thanks!










      share|improve this question
















      Excuse my poor English and my ignorance about Ubuntu and Linux world in general.



      I just received a .p7b file in order to connect with a private site through HTTPS. Using MS Windows, I just have to double-click that file and install it, but doing that with Ubuntu pops up a window where I could see all the details of certificate, then there were two buttons: "Close", that is the only one I can press, and "Import", that is gray and therefore useless.



      So I searched around the Internet for a solution, then copied the .p7b file in /usr/local/share/ca-certificates/ and ran update-ca-certificates with root permission. Nonetheless, if I tried to connect that site, Chrome gives me a NET::ERR_CERT_AUTHORITY_INVALID. If I run againt update-ca-certificates, output is still the same it was the first time:



      Updating certificates in /etc/ssl/certs...
      7 added, 7 removed; done.
      Running hooks in /etc/ca-certificates/update.d...

      Adding debian:Entrust.net_Secure_Server_CA.pem
      Adding debian:GTE_CyberTrust_Global_Root.pem
      Adding debian:RSA_Root_Certificate_1.pem
      Adding debian:Thawte_Premium_Server_CA.pem
      Adding debian:Thawte_Server_CA.pem
      Adding debian:ValiCert_Class_1_VA.pem
      Adding debian:ValiCert_Class_2_VA.pem
      Removing debian:Entrust.net_Secure_Server_CA.pem
      Removing debian:GTE_CyberTrust_Global_Root.pem
      Removing debian:RSA_Root_Certificate_1.pem
      Removing debian:Thawte_Premium_Server_CA.pem
      Removing debian:Thawte_Server_CA.pem
      Removing debian:ValiCert_Class_1_VA.pem
      Removing debian:ValiCert_Class_2_VA.pem
      done.
      done.


      Then I'm totally stuck... can you help me please?
      Thanks!







      ssl






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 24 '18 at 7:12









      Mr Shunz

      2,6784 gold badges23 silver badges24 bronze badges




      2,6784 gold badges23 silver badges24 bronze badges










      asked Dec 4 '15 at 23:03









      Carcarlo PravettoniCarcarlo Pravettoni

      11 silver badge1 bronze badge




      11 silver badge1 bronze badge























          1 Answer
          1






          active

          oldest

          votes


















          0



















          You need to import the certificate in your browser of choice. In chrome, you can find this under advanced settings -> manage certificates -> import your certificate.






          share|improve this answer

























          • Thank you, but it did not work because Chrome (my version at least, that is the last update) only accepts PKCS #12 certificates, while it seems to be a PKCS #7 (whatever it means... I don't know much about SSL). I tried to convert it using: openssl pkcs7 -in certnew256.p7b -print_certs -out certnew256.pem but the result was unable to load PKCS7 object 140670274774672:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:701:Expecting: PKCS7 ... and then I'm stuck again :(

            – Carcarlo Pravettoni
            Dec 8 '15 at 0:14












          • A p7 (certificate) is different from a p12 (key). You cannot convert one to the other.

            – user535733
            May 28 at 11:19












          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/4.0/"u003ecc by-sa 4.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%2f706061%2fhow-do-i-use-a-p7b-file-with-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 need to import the certificate in your browser of choice. In chrome, you can find this under advanced settings -> manage certificates -> import your certificate.






          share|improve this answer

























          • Thank you, but it did not work because Chrome (my version at least, that is the last update) only accepts PKCS #12 certificates, while it seems to be a PKCS #7 (whatever it means... I don't know much about SSL). I tried to convert it using: openssl pkcs7 -in certnew256.p7b -print_certs -out certnew256.pem but the result was unable to load PKCS7 object 140670274774672:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:701:Expecting: PKCS7 ... and then I'm stuck again :(

            – Carcarlo Pravettoni
            Dec 8 '15 at 0:14












          • A p7 (certificate) is different from a p12 (key). You cannot convert one to the other.

            – user535733
            May 28 at 11:19















          0



















          You need to import the certificate in your browser of choice. In chrome, you can find this under advanced settings -> manage certificates -> import your certificate.






          share|improve this answer

























          • Thank you, but it did not work because Chrome (my version at least, that is the last update) only accepts PKCS #12 certificates, while it seems to be a PKCS #7 (whatever it means... I don't know much about SSL). I tried to convert it using: openssl pkcs7 -in certnew256.p7b -print_certs -out certnew256.pem but the result was unable to load PKCS7 object 140670274774672:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:701:Expecting: PKCS7 ... and then I'm stuck again :(

            – Carcarlo Pravettoni
            Dec 8 '15 at 0:14












          • A p7 (certificate) is different from a p12 (key). You cannot convert one to the other.

            – user535733
            May 28 at 11:19













          0















          0











          0









          You need to import the certificate in your browser of choice. In chrome, you can find this under advanced settings -> manage certificates -> import your certificate.






          share|improve this answer














          You need to import the certificate in your browser of choice. In chrome, you can find this under advanced settings -> manage certificates -> import your certificate.







          share|improve this answer













          share|improve this answer




          share|improve this answer










          answered Dec 4 '15 at 23:15









          psusipsusi

          32.6k1 gold badge54 silver badges93 bronze badges




          32.6k1 gold badge54 silver badges93 bronze badges















          • Thank you, but it did not work because Chrome (my version at least, that is the last update) only accepts PKCS #12 certificates, while it seems to be a PKCS #7 (whatever it means... I don't know much about SSL). I tried to convert it using: openssl pkcs7 -in certnew256.p7b -print_certs -out certnew256.pem but the result was unable to load PKCS7 object 140670274774672:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:701:Expecting: PKCS7 ... and then I'm stuck again :(

            – Carcarlo Pravettoni
            Dec 8 '15 at 0:14












          • A p7 (certificate) is different from a p12 (key). You cannot convert one to the other.

            – user535733
            May 28 at 11:19

















          • Thank you, but it did not work because Chrome (my version at least, that is the last update) only accepts PKCS #12 certificates, while it seems to be a PKCS #7 (whatever it means... I don't know much about SSL). I tried to convert it using: openssl pkcs7 -in certnew256.p7b -print_certs -out certnew256.pem but the result was unable to load PKCS7 object 140670274774672:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:701:Expecting: PKCS7 ... and then I'm stuck again :(

            – Carcarlo Pravettoni
            Dec 8 '15 at 0:14












          • A p7 (certificate) is different from a p12 (key). You cannot convert one to the other.

            – user535733
            May 28 at 11:19
















          Thank you, but it did not work because Chrome (my version at least, that is the last update) only accepts PKCS #12 certificates, while it seems to be a PKCS #7 (whatever it means... I don't know much about SSL). I tried to convert it using: openssl pkcs7 -in certnew256.p7b -print_certs -out certnew256.pem but the result was unable to load PKCS7 object 140670274774672:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:701:Expecting: PKCS7 ... and then I'm stuck again :(

          – Carcarlo Pravettoni
          Dec 8 '15 at 0:14






          Thank you, but it did not work because Chrome (my version at least, that is the last update) only accepts PKCS #12 certificates, while it seems to be a PKCS #7 (whatever it means... I don't know much about SSL). I tried to convert it using: openssl pkcs7 -in certnew256.p7b -print_certs -out certnew256.pem but the result was unable to load PKCS7 object 140670274774672:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:701:Expecting: PKCS7 ... and then I'm stuck again :(

          – Carcarlo Pravettoni
          Dec 8 '15 at 0:14














          A p7 (certificate) is different from a p12 (key). You cannot convert one to the other.

          – user535733
          May 28 at 11:19





          A p7 (certificate) is different from a p12 (key). You cannot convert one to the other.

          – user535733
          May 28 at 11:19


















          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%2f706061%2fhow-do-i-use-a-p7b-file-with-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

          Tamil (spriik) Luke uk diar | Nawigatjuun

          Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

          Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?