OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: jonf on February 20, 2021, 09:33:50 pm

Title: Download encrypted OPNsense config file via script?
Post by: jonf on February 20, 2021, 09:33:50 pm
I found the following thread on this forum...

https://forum.opnsense.org/index.php?topic=15349.0

...but it's just over a year old so I thought I'd start a new thread to ask my question about this.  Is it possible to use some of the commands in that script to also set a password for the config before downloading, just like you'd set one in the web GUI when manually downloading the config?
Title: Re: Download encrypted OPNsense config file via script?
Post by: jonf on February 23, 2021, 11:16:04 am
Bump.

Perhaps there's an internal command that could be run on the server instead?  Even if it saved a local copy of an encrypted XML config I could probably work out the rest in a script in order to push the file elsewhere (e.g. local file server) for safer keeping as well as scheduling the task.