I tried to make the multiple wildcard but it came up with errors.
TZ=Austrlia/Sydney
URL=marcuse.net.au
SUBDOMAINS=wildcard
EXTRA_DOMAINS=*.ad.marcuse.net.au
ONLY_SUBDOMAINS=false
DHLEVEL=2048
VALIDATION=dns
DNSPLUGIN=cloudflare
EMAIL=ben@marcuse.net.au
STAGING=
2048 bit DH parameters present
SUBDOMAINS entered, processing
Wildcard cert for marcuse.net.au will be requested
EXTRA_DOMAINS entered, processing
Extra domains processed are: -d *.ad.marcuse.net.au
E-mail address entered: ben@marcuse.net.au
dns validation via cloudflare plugin is selected
Different validation parameters entered than what was used before. Revoking and deleting existing certificate, and an updated one will be created
Generating new certificate
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator dns-cloudflare, Installer None
Obtaining a new certificate
Performing the following challenges:
dns-01 challenge for ad.marcuse.net.au
dns-01 challenge for marcuse.net.au
dns-01 challenge for marcuse.net.au
Unsafe permissions on credentials configuration file: /config/dns-conf/cloudflare.ini
Waiting 10 seconds for DNS changes to propagate
Waiting for verification...
Challenge failed for domain ad.marcuse.net.au
Challenge failed for domain marcuse.net.au
Challenge failed for domain marcuse.net.au
dns-01 challenge for ad.marcuse.net.au
dns-01 challenge for marcuse.net.au
dns-01 challenge for marcuse.net.au
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: ad.marcuse.net.au
Type: unauthorized
Detail: Incorrect TXT record "ca3-285091a9f3c345b7a5640c9d15f690d2"
found at _acme-challenge.ad.marcuse.net.au
Domain: marcuse.net.au
Type: unauthorized
Detail: Incorrect TXT record "ca3-285091a9f3c345b7a5640c9d15f690d2"
found at _acme-challenge.marcuse.net.au
Domain: marcuse.net.au
Type: unauthorized
Detail: Incorrect TXT record "ca3-285091a9f3c345b7a5640c9d15f690d2"
found at _acme-challenge.marcuse.net.au
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
- Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
ERROR: Cert does not exist! Please see the validation error above. Make sure you entered correct credentials into the /config/dns-conf/cloudflare.ini file.
Assuming Cloudflare implements empty non-terminals and wildcards in the standard way, any wildcard is a bad idea, because it will temporarily cease to exist while the _acme-challengeTXT records exist.
Edit: I should have said, relying entirely on one wildcard would be a bad idea. Using them carefully would work.
i rebooted the machine what is running the letsencrypt.
i reloaded and still getting certificate error.
i will wait an hr and see if it works.
accessing all *.ad is internal so that is why you cant access it https://pfsense.ad.marcuse.net.au