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:smalldomain.co.uk
I ran this command:I tried to create new wildcard domain certificate on *.smalldomain.co.uk smalldomain.co.uk I go into cloudflare account and generate API token. I add this to the DNS challenge. I get an internal error
It produced this output:
Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-3" --agree-tos --email "justin@smalldomain.co.uk" --domains "*.smalldomain.co.uk smalldomain.co.uk" --authenticator dns-cloudflare --dns-cloudflare-credentials "/etc/letsencrypt/credentials/credentials-3"
Saving debug log to /tmp/letsencrypt-log/letsencrypt.log
An unexpected error occurred:
Error creating new order :: Cannot issue for "*.smalldomain.co.uk smalldomain.co.uk": Domain name contains an invalid character
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/letsencrypt-log/letsencrypt.log or re-run Certbot with -v for more details.
at ChildProcess.exithandler (node:child_process:402:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1100:16)
at Socket. (node:internal/child_process:458:11)
at Socket.emit (node:events:513:28)
at Pipe. (node:net:301:12)
My web server is (include version):nginx proxy manager - latest
The operating system my web server runs on is (include version):ubuntu
My hosting provider, if applicable, is:for email it will be unlimitedwebhosting.co.uk and for domains me
I can login to a root shell on my machine yes
I'm using a control panel to manage my site No
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
Done the certificates individually so one for *.smalldomain.co.uk and another for smalldomain.co.uk
now however going to smalldomain.co.uk it gives an error too many redirects.
I now have no access to email. I am trying to get the relevant records to enter into cloudflare for the A, CNAME, TXT, MX entries from unlimitedwebhosting to split out the email with them and the web stuff controlled on my local machine.
I tried running the above as root and got the following
Certbot can obtain and install HTTPS/TLS/SSL certificates. By default,
it will attempt to use a webserver both for obtaining and installing the
certificate.
certbot: error: Unable to open config file: /etc/letsencrypt.ini. Error: No such file or directory
root@1:/#
Yes I been trying all sorts at the moment to get this to work. I have tried nginx proxy server and installed certbot so may well be picking up a certificate now as get the padlock.
in nginx proxy manager though I get too many redirect errors when I remove the subdomain certs and use a wildcard cert. If I put them back in they work, but kind of goes against what I wanted to do with the wildcards. All be it those proxy hosts are all using different internal address ports