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

    Firewall Hardware Migration - Certs all scrambled in Export / Import

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 4 Posters 246 Views
    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.
    • J
      Jake Biker
      last edited by

      Hi All,

      Need to replace a Virtual Host - Needed to move the role from HyperV to KVM.

      Exported the HyperV config from PFSense - and Imported in into KVM and all the certs were messed up - I was able to manually wrangle it back exporting the keys etc ...

      Has anyone else seen this?

      GertjanG 1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by stephenw10

        Hmm, nope, not a current issue I'm aware of. What pfSense version(s)?

        J 1 Reply Last reply Reply Quote 0
        • J
          Jake Biker @stephenw10
          last edited by

          @stephenw10 Weird.

          Both 272

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            How were the certs broken exactly?

            The config file itself invalid?

            J 1 Reply Last reply Reply Quote 0
            • J
              Jake Biker @stephenw10
              last edited by

              @stephenw10

              Server Certs not valid - keys imported manually - and TLS Cert with odd characters ...

              S 1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Hmm, nope never seen that. Can you repeat it?

                1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan @Jake Biker
                  last edited by

                  @Jake-Biker said in Firewall Hardware Migration - Certs all scrambled in Export / Import:

                  Has anyone else seen this?

                  Noop.
                  As a file written by 'x' should be read by 'x' without any issues.
                  If this wasn't possible, there is no point in making backups of the config file in the first place (as they can't be read back in).

                  So, I have a question : did you edit the file ?

                  I do presume that exporting the file out of the VM into some other machine (the host) to to imported it into the new pfSense (GUI) shouldn't change the file format (file encoding).

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    Jake Biker @Gertjan
                    last edited by

                    @Gertjan

                    DOH -- of course - I edited the interface names - its an encoding things isn't it! ??

                    1 Reply Last reply Reply Quote 0
                    • S
                      slu @Jake Biker
                      last edited by

                      @Jake-Biker said in Firewall Hardware Migration - Certs all scrambled in Export / Import:

                      Server Certs not valid - keys imported manually - and TLS Cert with odd characters ...

                      Maybe the same "problem" I had...
                      https://forum.netgate.com/post/1060295

                      pfSense Gold subscription

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Ah if you edited the names with find-and-replace that could well have broken some certs.

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