Attempting to renew cert (www.mimicdigitalmarketing.com) from /etc/letsencrypt/renewal/www.mimicdigitalmarketing.com.conf produced an unexpected error: Failed authorization procedure

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: https://www.mimicdigitalmarketing.com/
I ran this command: cerbot renew

It produced this output:
Plugins selected: Authenticator nginx, Installer nginx
Renewing an existing certificate
nginx: [warn] duplicate MIME type “text/html” in /etc/nginx/nginx.conf:34
nginx: [warn] conflicting server name “www.mimicdigitalmarketing.com” on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name “www.mimicdigitalmarketing.com” on 0.0.0.0:80, ignored


new certificate deployed with reload of nginx server; fullchain is
/etc/letsencrypt/live/mimicdigitalmarketing.com-0001/fullchain.pem



Processing /etc/letsencrypt/renewal/mimicdigitalmarketing.com.conf


Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator nginx, Installer nginx
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for www.mimicdigitalmarketing.com
nginx: [warn] duplicate MIME type “text/html” in /etc/nginx/nginx.conf:36
nginx: [warn] conflicting server name “www.mimicdigitalmarketing.com” on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name “www.mimicdigitalmarketing.com” on 0.0.0.0:80, ignored
Waiting for verification…
Cleaning up challenges
nginx: [warn] duplicate MIME type “text/html” in /etc/nginx/nginx.conf:34
nginx: [warn] conflicting server name “www.mimicdigitalmarketing.com” on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name “www.mimicdigitalmarketing.com” on 0.0.0.0:80, ignored
Attempting to renew cert (mimicdigitalmarketing.com) from /etc/letsencrypt/renewal/mimicdigitalmarketing.com.conf produced an unexpected error: Failed authorization procedure. www.mimicdigitalmarketing.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from https://www.mimicdigitalmarketing.com/.well-known/acme-challenge/uWQCk7RWnM8eq8OS21sPlQT3l1v0PWmWVP4Cip68gk0 [45.32.130.200]: “\n<html lang=“en-US”>\n\n\t<meta charset=“UTF-8” />\n<meta http-equiv=“X-UA-Compatible” content=“IE=edge”>\n\t<lin”. Skipping.

My web server is (include version): ubuntu 18.04

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

My hosting provider, if applicable, is: Vultr

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

Hi @nuckleball

first step: You should cleanup your configuration.

Every combination of port and server name must be unique.

What says

nginx -T

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