crt certificate not appearing in menu for selection











up vote
1
down vote

favorite












I'm trying to set up the VPN for my university on my laptop. I have downloaded to certificate file and put it in ~/misc/cacert.crt. When I try to set up the VPN, I click on the CA Certificate option and navigate to ~/misc/ in the selection menu. The certificate does not appear there. The folder appears empty. I tried adding a new version of the file that is named differently, also doesn't appear in the menu. I can double click on the file in nautilus and it brings up a little box with the details of the certificate, so there's nothing wrong with the file.



Any idea what's causing this bizarre problem?





I've found something out. If I do file cacert.crt I get data whereas if I do file on a .crt certificate that does show up (which I found in /etc/ssl/certs/) then I get PEM certificate. So presumably having .crt is not enough and the VPN setup wants file to return a valid certificate type? How do I change this?



grep 'crt' /etc/mime.types gives me application/x-x509-ca-cert which, as I understand it, should mean that *.crt files are recognised as certificates. So why is my cacert.crt only appearing as data?










share|improve this question




















  • 1




    My answer here might be helpful.
    – user76204
    Jan 15 '13 at 18:03










  • That doesn't seem to have helped. I've put copies of the file in a number of different directories and run update-ca-certificates but with no luck. The file just doesn't show up in the selection menu.
    – Seamus
    Jan 16 '13 at 13:00















up vote
1
down vote

favorite












I'm trying to set up the VPN for my university on my laptop. I have downloaded to certificate file and put it in ~/misc/cacert.crt. When I try to set up the VPN, I click on the CA Certificate option and navigate to ~/misc/ in the selection menu. The certificate does not appear there. The folder appears empty. I tried adding a new version of the file that is named differently, also doesn't appear in the menu. I can double click on the file in nautilus and it brings up a little box with the details of the certificate, so there's nothing wrong with the file.



Any idea what's causing this bizarre problem?





I've found something out. If I do file cacert.crt I get data whereas if I do file on a .crt certificate that does show up (which I found in /etc/ssl/certs/) then I get PEM certificate. So presumably having .crt is not enough and the VPN setup wants file to return a valid certificate type? How do I change this?



grep 'crt' /etc/mime.types gives me application/x-x509-ca-cert which, as I understand it, should mean that *.crt files are recognised as certificates. So why is my cacert.crt only appearing as data?










share|improve this question




















  • 1




    My answer here might be helpful.
    – user76204
    Jan 15 '13 at 18:03










  • That doesn't seem to have helped. I've put copies of the file in a number of different directories and run update-ca-certificates but with no luck. The file just doesn't show up in the selection menu.
    – Seamus
    Jan 16 '13 at 13:00













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm trying to set up the VPN for my university on my laptop. I have downloaded to certificate file and put it in ~/misc/cacert.crt. When I try to set up the VPN, I click on the CA Certificate option and navigate to ~/misc/ in the selection menu. The certificate does not appear there. The folder appears empty. I tried adding a new version of the file that is named differently, also doesn't appear in the menu. I can double click on the file in nautilus and it brings up a little box with the details of the certificate, so there's nothing wrong with the file.



Any idea what's causing this bizarre problem?





I've found something out. If I do file cacert.crt I get data whereas if I do file on a .crt certificate that does show up (which I found in /etc/ssl/certs/) then I get PEM certificate. So presumably having .crt is not enough and the VPN setup wants file to return a valid certificate type? How do I change this?



grep 'crt' /etc/mime.types gives me application/x-x509-ca-cert which, as I understand it, should mean that *.crt files are recognised as certificates. So why is my cacert.crt only appearing as data?










share|improve this question















I'm trying to set up the VPN for my university on my laptop. I have downloaded to certificate file and put it in ~/misc/cacert.crt. When I try to set up the VPN, I click on the CA Certificate option and navigate to ~/misc/ in the selection menu. The certificate does not appear there. The folder appears empty. I tried adding a new version of the file that is named differently, also doesn't appear in the menu. I can double click on the file in nautilus and it brings up a little box with the details of the certificate, so there's nothing wrong with the file.



Any idea what's causing this bizarre problem?





I've found something out. If I do file cacert.crt I get data whereas if I do file on a .crt certificate that does show up (which I found in /etc/ssl/certs/) then I get PEM certificate. So presumably having .crt is not enough and the VPN setup wants file to return a valid certificate type? How do I change this?



grep 'crt' /etc/mime.types gives me application/x-x509-ca-cert which, as I understand it, should mean that *.crt files are recognised as certificates. So why is my cacert.crt only appearing as data?







vpn openvpn certificates






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 16 '13 at 13:25

























asked Jan 15 '13 at 12:42









Seamus

461427




461427








  • 1




    My answer here might be helpful.
    – user76204
    Jan 15 '13 at 18:03










  • That doesn't seem to have helped. I've put copies of the file in a number of different directories and run update-ca-certificates but with no luck. The file just doesn't show up in the selection menu.
    – Seamus
    Jan 16 '13 at 13:00














  • 1




    My answer here might be helpful.
    – user76204
    Jan 15 '13 at 18:03










  • That doesn't seem to have helped. I've put copies of the file in a number of different directories and run update-ca-certificates but with no luck. The file just doesn't show up in the selection menu.
    – Seamus
    Jan 16 '13 at 13:00








1




1




My answer here might be helpful.
– user76204
Jan 15 '13 at 18:03




My answer here might be helpful.
– user76204
Jan 15 '13 at 18:03












That doesn't seem to have helped. I've put copies of the file in a number of different directories and run update-ca-certificates but with no luck. The file just doesn't show up in the selection menu.
– Seamus
Jan 16 '13 at 13:00




That doesn't seem to have helped. I've put copies of the file in a number of different directories and run update-ca-certificates but with no luck. The file just doesn't show up in the selection menu.
– Seamus
Jan 16 '13 at 13:00










2 Answers
2






active

oldest

votes

















up vote
5
down vote



accepted










It may be too late to help you, but I'm posting this here for future reference. I had the same problem. I ended up just typing the file name in the address at the top and it worked. Took me an hour to figure it out though.






share|improve this answer




























    up vote
    0
    down vote













    I did not have a location field, but was able to work around this by:




    1. Click the CA cert box, right click the folder and click "open file with file manager"

    2. Cancel out of that but keep your file manager open

    3. Drag and drop the pem file to the CA cert box in the network config dialogue.


    This was with bionic before official bionic release.






    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',
      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%2f243448%2fcrt-certificate-not-appearing-in-menu-for-selection%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      5
      down vote



      accepted










      It may be too late to help you, but I'm posting this here for future reference. I had the same problem. I ended up just typing the file name in the address at the top and it worked. Took me an hour to figure it out though.






      share|improve this answer

























        up vote
        5
        down vote



        accepted










        It may be too late to help you, but I'm posting this here for future reference. I had the same problem. I ended up just typing the file name in the address at the top and it worked. Took me an hour to figure it out though.






        share|improve this answer























          up vote
          5
          down vote



          accepted







          up vote
          5
          down vote



          accepted






          It may be too late to help you, but I'm posting this here for future reference. I had the same problem. I ended up just typing the file name in the address at the top and it worked. Took me an hour to figure it out though.






          share|improve this answer












          It may be too late to help you, but I'm posting this here for future reference. I had the same problem. I ended up just typing the file name in the address at the top and it worked. Took me an hour to figure it out though.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 12 '14 at 3:22









          mmaluff

          548510




          548510
























              up vote
              0
              down vote













              I did not have a location field, but was able to work around this by:




              1. Click the CA cert box, right click the folder and click "open file with file manager"

              2. Cancel out of that but keep your file manager open

              3. Drag and drop the pem file to the CA cert box in the network config dialogue.


              This was with bionic before official bionic release.






              share|improve this answer

























                up vote
                0
                down vote













                I did not have a location field, but was able to work around this by:




                1. Click the CA cert box, right click the folder and click "open file with file manager"

                2. Cancel out of that but keep your file manager open

                3. Drag and drop the pem file to the CA cert box in the network config dialogue.


                This was with bionic before official bionic release.






                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  I did not have a location field, but was able to work around this by:




                  1. Click the CA cert box, right click the folder and click "open file with file manager"

                  2. Cancel out of that but keep your file manager open

                  3. Drag and drop the pem file to the CA cert box in the network config dialogue.


                  This was with bionic before official bionic release.






                  share|improve this answer












                  I did not have a location field, but was able to work around this by:




                  1. Click the CA cert box, right click the folder and click "open file with file manager"

                  2. Cancel out of that but keep your file manager open

                  3. Drag and drop the pem file to the CA cert box in the network config dialogue.


                  This was with bionic before official bionic release.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 18 at 13:32









                  Kyle Brandt

                  3571618




                  3571618






























                      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.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • 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%2f243448%2fcrt-certificate-not-appearing-in-menu-for-selection%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

                      Quarter-circle Tiles

                      build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

                      Mont Emei