Unable to obtain certificate

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. https://crt.sh/?q=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: deancorp.co.uk

I ran this command:
sudo certbot --apache -d deancorp.co.uk -d www.deancorp.co.uk

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator apache, Installer apache Obtaining a new certificate Performing the following challenges: http-01 challenge for deancorp.co.uk http-01 challenge for www.deancorp.co.uk Waiting for verification... Cleaning up challenges Failed authorization procedure. www.deancorp.co.uk (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.deancorp.co.uk/.well-known/acme-challenge/ki9balg6M6wVBixJKAbfiUBN9nle-Gqm3X9oVMP3udU [82.4.154.121]: "<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<style>body{font-family:Arial,Helvetica,sans-serif;font-size:12px;text-alig", deancorp.co.uk (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://deancorp.co.uk/.well-known/acme-challenge/2XDBq1K8NRz0zERrvrYiWuOqNXzmXVMsfOf8Fp12W4w [82.4.154.121]: "<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<style>body{font-family:Arial,Helvetica,sans-serif;font-size:12px;text-alig"

IMPORTANT NOTES:
- The following errors were reported by the server:

Domain: www.deancorp.co.uk Type: unauthorized Detail: Invalid response from http://www.deancorp.co.uk/.well-known/acme-challenge/ki9balg6M6wVBixJKAbfiUBN9nle-Gqm3X9oVMP3udU [82.4.154.121]: "<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<style>body{font-family:Arial,Helvetica,sans-serif;font-size:12px;text-alig"

Domain: deancorp.co.uk Type: unauthorized Detail: Invalid response from http://deancorp.co.uk/.well-known/acme-challenge/2XDBq1K8NRz0zERrvrYiWuOqNXzmXVMsfOf8Fp12W4w [82.4.154.121]: "<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<style>body{font-family:Arial,Helvetica,sans-serif;font-size:12px;text-alig"

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.

My web server is (include version): Apache/2.4.29 (Ubuntu)

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

My hosting provider, if applicable, is: N/A

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): No

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

1 Like

Please show the output of:
apachectl -S

1 Like

AH00526: Syntax error on line 11 of /etc/apache2/sites-enabled/deanlongstaff.com-le-ssl.conf: SSLCertificateFile: file '/etc/letsencrypt/live/deanlongstaff.com/fullchain.pem' does not exist or is empty Action '-S' failed. The Apache error log may have more information.

(I have another site, deanlongstaff.com, which this is reffering too. But the SSL works fine on there.

1 Like

Lol - I have just ran the cerbot again and it has worked! Maybe i just had to wait a while for the DNS to propagate. I think this is what happened last time. Thanks for your help anyways!

2 Likes

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