That's great, thanks!Unfortunately it does not work yet.The php script puts the following message:The certificate subject does not match the hostname <opnsense.mydomain.com>CN=mydomain.comMy certificate is indeed a wildcard certificate so this should work, should it?
#!/bin/sh/root/.acme.sh/acme.sh --accountemail "foo@bar.com" --issue --dns dns_gandi_livedns -d '*.myDomain.com' -d myDomain.com
Maybe the problem is that I have two domains within a single certificate? Could this confuse the php script?e.g.*.myDomain.commyDomain.com