Install error - Type: unauthorized Detail: Invalid response from acme-challenge

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: http://mail.openbooksocial.com/

I ran this command: certbot --dry-run certonly
(selected) Select the appropriate number [1-3] then [enter] (press β€˜c’ to cancel): 1
Plugins selected: Authenticator nginx, Installer None Please enter in your domain name(s) (comma and/or space separated) (Enter β€˜c’ to cancel): mail.openbooksocial.com

It produced this output:
Obtaining a new certificate Performing the following challenges: http-01 challenge for mail.openbooksocial.com nginx: [warn] conflicting server name β€œmail.openbooksocial.com” on 0.0.0.0:80, ignored nginx: [warn] conflicting server name β€œwww.mail.openbooksocial.com” on 0.0.0.0:80, ignored nginx: [warn] conflicting server name β€œmail.openbooksocial.com” on [::]:80, ignored nginx: [warn] conflicting server name β€œwww.mail.openbooksocial.com” on [::]:80, ignored Waiting for verification… Challenge failed for domain mail.openbooksocial.com http-01 challenge for mail.openbooksocial.com Cleaning up challenges nginx: [warn] conflicting server name β€œmail.openbooksocial.com” on 0.0.0.0:80, ignored nginx: [warn] conflicting server name β€œwww.mail.openbooksocial.com” on 0.0.0.0:80, ignored nginx: [warn] conflicting server name β€œmail.openbooksocial.com” on [::]:80, ignored nginx: [warn] conflicting server name β€œwww.mail.openbooksocial.com” on [::]:80, ignored Some challenges have failed. IMPORTANT NOTES: - The following errors were reported by the server: Domain: mail.openbooksocial.com Type: unauthorized Detail: Invalid response from http://mail.openbooksocial.com/.well-known/acme-challenge/aJI0FwmZZd_cMOUwApqu2ObywlFSaDlgp7d9lUNOSsE [172.104.240.180]: β€œ\r\n404 Not Found\r\n\r\n

404 Not Found

\r\n
nginx/1.17.10 (U” 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): nginx version: nginx/1.17.10 (Ubuntu)

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

My hosting provider, if applicable, is: Linode

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.40.0

Please help resolve. Thanks!

1 Like

Hi @vivmajor

there

is your job: You have to fix these errors, you must have a working port 80 configuration without any error.

If this isn't possible, switch to a shared hosting solution.

1 Like

Hi @JuergenAuer,
Thanks for showing me the direction!
Got the Cert. Had to deleted some conf files created manually - following a tutorial.

Regards

1 Like

Yep, such errors don't happen "from alone". Happy to read you have fixed these errors :+1:

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