OPNsense Forum

English Forums => Development and Code Review => Topic started by: gaetanlord on September 14, 2022, 03:59:59 pm

Title: running webpage from command line or finding expiration date in config file
Post by: gaetanlord on September 14, 2022, 03:59:59 pm
Hi

Trying to find a way to get the content of the certificate list  webpage  (system_certmanager.php )

I haven't found a way to get the certificate expiration date from the API and from the XML backup

We issue short expiration dates on our VPN certificate, and I'm looking to find the one close to expiration. I'd like to fetch the webpage system_certmanager.php and parse the date. Any idea how to proceed, I'm open to any solution/link that will provide me hint on how to achieve my goals

Regards