Backup/restore How to restore Certificates only
I am trying to shifted from physical to Virtual environment.
I have complete backup file and trying to restore it to virtual environment and the fact is that only the Certificates and OPENVPN Configuration are important and I can do the rest as new.
However I cant seems to find the option in RESTORE AREA custom option to only restore certificates and CA.
Any help is appreciated.
Gertjan last edited by
I guess you are right.
"Certs" are backed up when you select "All" - you can find them in the exported config.xml file - search for the <cert>lines.
But, some possibilities exist.
Just edit the exported config.xml file - keep intact the format, throw everything away except the
<cert><refid>54ca2cf9af6xx</refid> <crt>LS0tLS1CRUdJTiBDRVJUSUZJQ0..............................S0tLS0NCg==</crt> <prv>LS0tLS1CRUdJTiBSU.......................EgUFJJVkFURSBLRVktLS0tLQ0K</prv> <caref>54ca2cbc230bb</caref></cert>
Import your modified file.
Note : respect the XML format, otherwise be prepared for special effects ;)
Another idea : what about adding
"cert" => gettext("Certificats"),
to the file diag_backup.php - around line 190 ;)</cert>