Backup/restore a part of config



  • Hi,
    After upgrading a 2.2.5 installed on an old hard drive, the current version is the latest 2.4.1.
    Above, I have four users with four OpenVPN Road Warrior certificates. But, the configuration of these certificates is obsolete. And I would rather change the config of the pfsense file with a recent and valid config.xml file rather than install the four clients.exe on computers at the four corners of the world.

    For that, this good post : https://forum.pfsense.org/index.php?topic=99145.0

    But, i have a verification request and a question.
    1. The form and content of the config.xml file, before the restoration of "all", is it good? :

    <pfsense><cert><refid>xxxxxxxxxxxxxxxxxx</refid>

    <type>user</type>
    <caref>xxxxxxxxxxxxxx</caref>
    <crt>xxxxxxxxxxxxxxxx</crt>
    <prv>xxxxxxxxxxxxxxx</prv></cert>
            …
    <cert><refid>xxxxxxxxxxxxxxxxxx</refid>

    <type>user</type>
    <caref>xxxxxxxxxxxxxx</caref>
    <crt>xxxxxxxxxxxxxxxx</crt>
    <prv>xxxxxxxxxxxxxxx</prv></cert></pfsense>

    2. My question : do I have to delete the 4 obsolete certificates before the restoration?

    Thanks.  ;)


Log in to reply