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: myhuntingboardserver.com
I ran this command: sudo docker-compose logs certbot
It produced this output:
certbot | Saving debug log to /var/log/letsencrypt/letsencrypt.log
certbot | Plugins selected: Authenticator webroot, Installer None
certbot | Obtaining a new certificate
certbot | Performing the following challenges:
certbot | http-01 challenge for myhuntingboardserver.com
certbot | http-01 challenge for www.myhuntingboardserver.com
certbot | Using the webroot path /var/www/html for all unmatched domains.
certbot | Waiting for verification…
certbot | Challenge failed for domain myhuntingboardserver.com
certbot | Challenge failed for domain www.myhuntingboardserver.com
certbot | http-01 challenge for myhuntingboardserver.com
certbot | http-01 challenge for www.myhuntingboardserver.com
certbot | Cleaning up challenges
certbot | Some challenges have failed.
certbot | IMPORTANT NOTES:
certbot | - The following errors were reported by the server:
certbot |
certbot | Domain: myhuntingboardserver.com
certbot | Type: unauthorized
certbot | Detail: Invalid response from
certbot | http://myhuntingboardserver.com/.well-known/acme-challenge/JZRV9u47V5NohVnY8K6HEeRh7xnMXcAZtx-Zk5tukkY
certbot | [188.165.33.122]: “\r\n404 Not
certbot | Found\r\n<body bgcolor=“white”>\r\n
404
certbot | Not Found
\r\n”
certbot |
certbot | Domain: www.myhuntingboardserver.com
certbot | Type: unauthorized
certbot | Detail: Invalid response from
certbot | http://www.myhuntingboardserver.com/.well-known/acme-challenge/3QV5vyJ15ceqChYpfVNjuAhbLwO8V_X3cRbKJ6CPrhA
certbot | [188.165.33.122]: “\r\n404 Not
certbot | Found\r\n<body bgcolor=“white”>\r\n
404
certbot | Not Found
\r\n”
certbot |
certbot | To fix these errors, please make sure that your domain name was
certbot | entered correctly and the DNS A/AAAA record(s) for that domain
certbot | contain(s) the right IP address.
I use docker-compose.yml :
services:
nodejs:
build:
context: .
dockerfile: Dockerfile
image: nodejs
container_name: nodejs
restart: unless-stopped
networks:
- app-network
webserver:
image: nginx:mainline-alpine
container_name: webserver
restart: unless-stopped
ports:
- “8084:80”
volumes:
- web-root:/var/www/html
- ./nginx-conf:/etc/nginx/conf.d
- certbot-etc:/etc/letsencrypt
- certbot-var:/var/lib/letsencrypt
depends_on:
- nodejs
networks:
- app-network
certbot:
image: certbot/certbot
container_name: certbot
volumes:
- certbot-etc:/etc/letsencrypt
- certbot-var:/var/lib/letsencrypt
- web-root:/var/www/html
depends_on:
- webserver
command: certonly --webroot --webroot-path=/var/www/html --email edouarddelaage@gmail.com --agree-tos --no-eff-email --staging -d myhuntingboardserver.com -d www.myhuntingboardserver.com
volumes:
certbot-etc:
certbot-var:
web-root:
driver: local
driver_opts:
type: none
device: /www/node_project/views/
o: bind
networks:
app-network:
driver: bridge
My web server is (include version):
server {
listen 188.165.33.122:80;
listen [::]:80;
root /var/www/html;
index index.html index.html index.nginx-debian.html;
server_name myhuntingboardserver.com www.myhuntingboardserver.com;
location / {
proxy_pass http://nodejs:8080;
}
location ~ /.well-known/acme-challenge {
allow all;
root /var/www/html;
}
}
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is: ovh
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.28.0