1
24.1 Production Series / How can I import from the cli an externally generated SSL certificate?
« on: March 08, 2024, 04:01:12 pm »
Using the CLI, is it possible to import an externally generated SSL certificate for use in System: Settings: Administration->SSL Certificate?
I have looked but I cannot find an API endpoint to do this.
Since I believe that the certificates used by the GUI are kept in the conf.xml, maybe there any some specialised OPNsense shell commands that could be used to manipulate the certificate nodes in the xml? If so what are they? (I do not want to manipulate directly the xml).
Can somebody suggest a way of doing this?
I have looked but I cannot find an API endpoint to do this.
Since I believe that the certificates used by the GUI are kept in the conf.xml, maybe there any some specialised OPNsense shell commands that could be used to manipulate the certificate nodes in the xml? If so what are they? (I do not want to manipulate directly the xml).
Can somebody suggest a way of doing this?