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

    Backup/restore a part of config

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 420 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.
    • N
      NicoPesto
      last edited by

      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.  ;)

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