• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

CA / Certificate Import / Export

webGUI
3
5
8.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    bimmerdriver
    last edited by Oct 12, 2016, 12:35 AM

    pfSense provides the .crt format for CA / certificate export. For import, the CA /certificate must be pasted in PEM format. Is there a reason why pfSense will not import CA / certificate in the .crt format or some other format such as .cer? Windows 10 will export in .cer or .p7b format. (See attachment.)

    Capture.PNG
    Capture.PNG_thumb

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Oct 12, 2016, 12:38 PM

      Because accepting them in PEM format requires no extra work. Everything takes that format or can be easily converted from that format.

      To accept certificates in other formats means we'd need a bunch of extra code to detect the other formats and convert them to PEM when importing.

      In that wizard, use the "Base-64 encoded X.509 (.CER)" format, which is already PEM. Don't trust the default file extensions given by Windows.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • B
        bimmerdriver
        last edited by Oct 12, 2016, 6:14 PM

        @jimp:

        Because accepting them in PEM format requires no extra work. Everything takes that format or can be easily converted from that format.

        To accept certificates in other formats means we'd need a bunch of extra code to detect the other formats and convert them to PEM when importing.

        In that wizard, use the "Base-64 encoded X.509 (.CER)" format, which is already PEM. Don't trust the default file extensions given by Windows.

        Okay, thanks for the clarification. I didn't realize you could open a base-64 .cer file with notepad and copy the text.

        I still don't understand why pfsense can't import a ca or cert in .crt format, when that's the format it uses for exporting a ca or cert.

        1 Reply Last reply Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by Oct 13, 2016, 5:01 AM

          I think the .crt is just confusing you - you can open that .crt file in notepad its just the base 64 encoded file..

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

          1 Reply Last reply Reply Quote 0
          • B
            bimmerdriver
            last edited by Oct 13, 2016, 4:26 PM

            @johnpoz:

            I think the .crt is just confusing you - you can open that .crt file in notepad its just the base 64 encoded file..

            Thanks for the reply. Not sure how I missed that.

            1 Reply Last reply Reply Quote 0
            3 out of 5
            • First post
              3/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.