Pfsense Acme SSL invalid domain

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: pfsense.levinathan-network.com.au

I ran this command: installed the acme package in pfsense and setup in GUI

It produced this output:

pfsense.levinathan-network.com.au
Renewing certificate
account: pfsense.levinathan-network.com.au
server: letsencrypt-staging-2

/usr/local/pkg/acme/acme.sh --issue --domain 'pfsense.levinathan-network.com.au' --dns 'dns_cf' --home '/tmp/acme/pfsense.levinathan-network.com.au/' --accountconf '/tmp/acme/pfsense.levinathan-network.com.au/accountconf.conf' --force --always-force-new-domain-key --reloadCmd '/tmp/acme/pfsense.levinathan-network.com.au/reloadcmd.sh' --dnssleep '60' --log-level 3 --log '/tmp/acme/pfsense.levinathan-network.com.au/acme_issuecert.log'
Array
(
[path] => /etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/
[PATH] => /etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/
[SSL_CERT_DIR] => /etc/ssl/certs/
[CF_Key] => tPJJ-QB0bi2NitlR22AHLibjEams-kn6emsqlBUL
[CF_Email] => admin@dragonpost.com.au
[CF_Token] =>
[CF_Account_ID] =>
[CF_Zone_ID] =>
)
[Tue Oct 15 14:52:38 AEDT 2024] Using CA: https://acme-staging-v02.api.letsencrypt.org/directory
[Tue Oct 15 14:52:38 AEDT 2024] Using pre generated key: /tmp/acme/pfsense.levinathan-network.com.au/pfsense.levinathan-network.com.au/pfsense.levinathan-network.com.au.key.next
[Tue Oct 15 14:52:38 AEDT 2024] Generate next pre-generate key.
[Tue Oct 15 14:52:38 AEDT 2024] Single domain='pfsense.levinathan-network.com.au'
[Tue Oct 15 14:52:42 AEDT 2024] Getting webroot for domain='pfsense.levinathan-network.com.au'
[Tue Oct 15 14:52:42 AEDT 2024] Adding txt value: fliH9MXLgiHSLsZ2AIxFvRl9nFoNh2Kn5W0n4QE1bYc for domain: _acme-challenge.pfsense.levinathan-network.com.au
[Tue Oct 15 14:52:44 AEDT 2024] invalid domain
[Tue Oct 15 14:52:44 AEDT 2024] Error add txt for domain:_acme-challenge.pfsense.levinathan-network.com.au
[Tue Oct 15 14:52:44 AEDT 2024] Please check log file for more details: /tmp/acme/pfsense.levinathan-network.com.au/acme_issuecert.log

My web server is (include version): Pfsense 2.7.2

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): yes

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

These log lines suggest you don't have the right credentials configured for this domain's DNS API provider, which seems to be cloudflare. The configured API account is probably not permissioned to edit that domain's DNS records.

7 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.