Are certificates stored in backup?
-
I just purchased a new 4200 and will be restoring it from a backup xml file. I can see that apparently all the settings are in the xml but I'm wondering about ssl and ssh certificates/keys. Will they be restored as well?
-
@wgstarks yes..
Just look in your backup file, its just an xml - by default it would keep the ssh but you can uncheck that
And your certs are there - notice the one being used for my webgui, and then later in the xml is that cert
-
@johnpoz
Thanks. Now I know what term to search for. -
@wgstarks there was a also a thread not that long ago where someone was complaining their their cloned boxes, using standard config had the same ssh.. Assuming they could of just unchecked that box when creating their golden config ;)
But I don't recall exactly when that option turned up about the ssh, might have been just recent like 23.09 or something..
I have restored from config a few times when doing a clean install of new version and I don't recall being warned that ssh was different host, and for sure never lost any certs... I have lots of certs in my cert manager, both CA and signed certs and even a few external certs, etc.. Like acme..
A backup that didn't contain your certs wouldn't be a very good backup ;)
-
@johnpoz If ssh does complain about the ssh key cd to the .ssh folder and remove the known_hosts file.