Ein pfSense Backup von der Console restaurieren
Bei dem Versuch ein eigenes Zertifikat auf meiner pfsense Box zu installieren ist etwas schief gegangen (was muss ich später noch herausfinden) und die Weboberfläche für die Administration wurde nicht mehr gestartet.
Das Gerät hat keinen Tastatur oder Monitoranschluß sondern nur eine “Console” mit einem Mini USB Anschluss.
Unter Ubuntu 16.10 konnte ich diesen Anschluss wie folgt verwenden. Man verbindet den Rechner mit der Konsole über das USB Kabel und lädt einen usb - seriell Treiber
sudo modprobe cp210x
dmesg 
cp210x converter detected
[210931.760139] usb 1-1.1: cp210x converter now attached to ttyUSB1
Wenn noch nicht vorhanden das Terminalprogram screen installieren
 sudo apt install screen
Mit der Box verbinden und das Menu starten:
 sudo screen /dev/ttyUSB1 115200
 sudo /etc/rc.initial
In meinem Fall wollte ich auf eine Konfiguration zurückspringen und mit Hilfe des Backups unter 15 ist mir das gelungen.
  0) Logout (SSH only)                  9) pfTop
  1) Assign Interfaces                 10) Filter Logs
  2) Set interface(s) IP address       11) Restart webConfigurator
  3) Reset webConfigurator password    12) PHP shell + pfSense tools
  4) Reset to factory defaults         13) Update from console
  5) Reboot system                     14) Enable Secure Shell (sshd)
  6) Halt system                       15) Restore recent configuration
  7) Ping host                         16) Restart PHP-FPM
  8) Shell
  
   Enter an option: 15
   Restore Backup from Configuration History
   
   1) List Backups
   2) Restore Backup
   Q) Quit
   List
    03. 12/13/16 11:04:19   v15.5   admin@192.168.xxxxxx
        /interfaces_assign.php made unknown change
    
    02. 12/17/16 18:03:02   v15.5   admin@192.168.xxxxxx
        /system_camanager.php made unknown change
    
    01. 12/17/16 18:03:57   v15.5   admin@192.168.xxxxxx
        /system_certmanager.php made unknown change
Hoffnungsvoll setzte ich alles auf das Backup vor meinen Änderungen im CA Manager
  Restore Backup from Configuration History
  
  1) List Backups
  2) Restore Backup
  Q) Quit
  Please select an option to continue: 2
  Which configuration would you like to restore?
   1-30 : 3
  
   Is this the backup you wish to restore?
  03. 12/13/16 11:04:19   v15.5   admin@192.168.xxxxxxx
      /interfaces_assign.php made unknown change
  
  Y/N? : y
  
  Successfully reverted to timestamp 12/13/16 11:04:19 with description "admin@192.168.xxxxx: /interfaces_assign.php       made unknown change".
  You may need to reboot the firewall or restart services before the restored configuration is fully active.
Dann noch ein entschlossener Restart des WebConfigurators unter 11
  0) Logout (SSH only)                  9) pfTop
  1) Assign Interfaces                 10) Filter Logs
  2) Set interface(s) IP address       11) Restart webConfigurator
  3) Reset webConfigurator password    12) PHP shell + pfSense tools
  4) Reset to factory defaults         13) Update from console
  5) Reboot system                     14) Enable Secure Shell (sshd)
  6) Halt system                       15) Restore recent configuration
  7) Ping host                         16) Restart PHP-FPM
  8) Shell
Back in Business