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

    Need Help Restoring Encrypted Config

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 2 Posters 980 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.
    • C
      Chewbode
      last edited by

      I need help restoring my config to a freshly-installed pfSense box. Here's what I've done so far:

      • Replaced the bad HDD with a new one.

      • Installed pfSense to the HDD.

      • Formatted a USB thumb drive as FAT32, created a directory on it named config and placed my config.xml file in there.

      • Put the USB thumb drive into the pfSense box.

      • Booted pfSense, exited to Shell and ran these commands:

      • mkdir /mnt/usb

      • mount_msdosfs /dev/da1s1 /mnt/usb

      • view /mnt/usb/config/config.xml

      So, now I can see the config file and I'm ready to restore, but how do I decrypt the file first? Any help would be greatly appreciated. Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • pttP
        ptt Rebel Alliance
        last edited by

        https://forum.pfsense.org/index.php?topic=111080.msg621529#msg621529

        1 Reply Last reply Reply Quote 0
        • C
          Chewbode
          last edited by

          You're the BEST, ptt!

          I couldn't execute the command directly on the pfSense Shell, so I put the encrypted file onto a CentOS 6 install I have here and decrypted it. I then moved the decrypted file to the USB thumb drive, put it back into the pfSense box, rebooted it and it restored the config automatically. Thanks SO much for the help!

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