Challenge failed for domain app.snbase.com

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:

I ran this command:cxertbot --nginx -d app.snbase.com

It produced this output:Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for app.snbase.com
nginx: [warn] conflicting server name “app.snbase.com” on 0.0.0.0:80, ignored
Waiting for verification…
Challenge failed for domain app.snbase.com
http-01 challenge for app.snbase.com
Cleaning up challenges
Some challenges have failed.

IMPORTANT NOTES:

My web server is (include version):nginx version: nginx/1.12.2

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

My hosting provider, if applicable, is:cloudflare

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

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

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

Hi @Malhar

there is your problem.

Check your vHost configuration

nginx -T

Looks like you have a duplicated port 80 definition. Merge the multipe vHosts port 80 with the same server name to one vHost, then restart your nginx.

3 Likes

thanks a lot… problem solved

2 Likes

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