Need Help Restoring Encrypted Config
-
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!
-
-
https://forum.pfsense.org/index.php?topic=111080.msg621529#msg621529
-
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!