Can't Use Certbot w/Traefik

Please fill out the fields below so we can help you better.

My domain is:

lowteck.com

I ran this command:

sudo certbot certonly

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log

How would you like to authenticate with the ACME CA?

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

1: Spin up a temporary webserver (standalone)

2: Place files in webroot directory (webroot)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2

Plugins selected: Authenticator webroot, Installer None

Please enter in your domain name(s) (comma and/or space separated) (Enter 'c'

to cancel): lowteck.com

Obtaining a new certificate

Performing the following challenges:

http-01 challenge for lowteck.com

Input the webroot for lowteck.com: (Enter 'c' to cancel): /lowteck  

Waiting for verification...

Cleaning up challenges

Failed authorization procedure. lowteck.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://lowteck.com/.well-known/acme-challenge/VMrzOcahJE6gAg0pFh85btfUzWzRiylQodAo6euXskk [104.236.214.151]: "<!DOCTYPE html><html><head><meta charSet=\"utf-8\" class=\"next-head\"/><meta name=\"viewport\" content=\"width=device-width, initial-s"

IMPORTANT NOTES:

 - The following errors were reported by the server:

Domain: lowteck.com

Type: unauthorized

Detail: Invalid response from

http://lowteck.com/.well-known/acme-challenge/VMrzOcahJE6gAg0pFh85btfUzWzRiylQodAo6euXskk

[104.236.214.151]: "<!DOCTYPE html><html><head><meta

charSet=\"utf-8\" class=\"next-head\"/><meta name=\"viewport\"

content=\"width=device-width, initial-s"

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

traefik load balancing two node instances over docker-compose

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

ubuntu 18.04

My hosting provider, if applicable, is:

digitalocean

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

root@ubuntu-1gb-nyc3-01:/lowteck# certbot --version

certbot 0.28.0

Traefik ships its own Let’s Encrypt/ACME implementation - https://docs.traefik.io/user-guide/examples/#lets-encrypt-support

Can you comment on why you are using Certbot?

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