diff --git a/net/haproxy/src/opnsense/scripts/OPNsense/HAProxy/exportCerts.php b/net/haproxy/src/opnsense/scripts/OPNsense/HAProxy/exportCerts.php index c2e052f60..935160b42 100755 --- a/net/haproxy/src/opnsense/scripts/OPNsense/HAProxy/exportCerts.php +++ b/net/haproxy/src/opnsense/scripts/OPNsense/HAProxy/exportCerts.php @@ -97,9 +97,9 @@ foreach ($configNodes as $key => $value) { echo "exported $type to " . $output_pem_filename . "\n"; // Check if automatic OCSP updates are enabled. if (isset($configObj->OPNsense->HAProxy->general->tuning->ocspUpdateEnabled) and ($configObj->OPNsense->HAProxy->general->tuning->ocspUpdateEnabled == '1')) { - $crtlist[] = $output_pem_filename . " ocsp-update on"; + $crtlist[] = $output_pem_filename . " ocsp-update on"; } else { - $crtlist[] = $output_pem_filename; + $crtlist[] = $output_pem_filename; } } else { // In contrast to certificates, CA/CRL content needs to be put in a single file. diff --git a/security/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeValidation/DnsNic.php b/security/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeValidation/DnsNic.php index 15ea83635..bd1644048 100644 --- a/security/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeValidation/DnsNic.php +++ b/security/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeValidation/DnsNic.php @@ -35,13 +35,13 @@ * Nic DNS API * @package OPNsense\AcmeClient */ - class DnsNic extends Base implements LeValidationInterface - { - public function prepare() - { - $this->acme_env['NIC_Username'] = (string)$this->config->dns_nic_username; - $this->acme_env['NIC_Password'] = (string)$this->config->dns_nic_password; - $this->acme_env['NIC_ClientID'] = (string)$this->config->dns_nic_client; - $this->acme_env['NIC_ClientSecret'] = (string)$this->config->dns_nic_secret; - } - } \ No newline at end of file +class DnsNic extends Base implements LeValidationInterface +{ + public function prepare() + { + $this->acme_env['NIC_Username'] = (string)$this->config->dns_nic_username; + $this->acme_env['NIC_Password'] = (string)$this->config->dns_nic_password; + $this->acme_env['NIC_ClientID'] = (string)$this->config->dns_nic_client; + $this->acme_env['NIC_ClientSecret'] = (string)$this->config->dns_nic_secret; + } +}