Folks here might find this useful, either as-is or as an API reference:
https://github.com/0xabu/opnsense-cert
It's a moderately-simple Python script that automates import of a new TLS certificate and supporting CAs, then restarts the webgui service, all using the API. (In the context where I use it, another machine on the local LAN manages renewal and installation of these certificates.)
https://github.com/0xabu/opnsense-cert
It's a moderately-simple Python script that automates import of a new TLS certificate and supporting CAs, then restarts the webgui service, all using the API. (In the context where I use it, another machine on the local LAN manages renewal and installation of these certificates.)
"