Hi guys, I have been trying for days to get https inside unRaid dockers, I followed this guide and did exactly what he did:
In the docker "duckdns" I put the subdomains I created: "zmttmineserver and zmttbittorrent" then I put my token, next I downloaded "LetsEncrypt" which is now called "swag" and I put as port 80 and 443 on both swag and modem, in URL I put my domain (mattezserver. xyz) that I purchased on Hostinger, and as validation I put "http", in the subdomain I put "minecraftserver,qbittorrentvpn" and in the email I put the one associated with the domain because I have ZeroSSL, then on Hostinger in the DNS settings as CNAME I put:
Modem open port:
When I go to the "swag" log this appears:
using keys found in /config/keys
Variables set:
PUID=99
PGID=100
TZ=Europe/Berlin
URL=mattezserver.xyz
SUBDOMAINS=minecraftserver,qbittorrentvpn
EXTRA_DOMAINS=
ONLY_SUBDOMAINS=false
VALIDATION=http
CERTPROVIDER=
DNSPLUGIN=cloudflare
[email protected]
STAGING=false
Using Let's Encrypt as the cert provider
SUBDOMAINS entered, processing
SUBDOMAINS entered, processing
Sub-domains processed are: -d minecraftserver.mattezserver.xyz -d qbittorrentvpn.mattezserver.xyz
E-mail address entered:
[email protected]
http validation is selected
Generating new certificate
Requesting a certificate for mattezserver.xyz and 2 more domains
Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:
Domain: qbittorrentvpn.mattezserver.xyz
Type: dns
Detail: DNS problem: NXDOMAIN looking up A for qbittorrentvpn.mattezserver.xyz - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for qbittorrentvpn.mattezserver.xyz - check that a DNS record exists for this domain
Domain: mattezserver.xyz
Type: unauthorized
Detail: 2606:4700:3032::ac43:9ea4: Invalid response from http://mattezserver.xyz/.well-known/acme-challenge/NqKBqFutJaBG8waYV7pMZnp7zF8f52_p8AX3zTZig4A: 404
Hint: The Certificate Authority failed to download the challenge files from the temporary standalone webserver started by Certbot on port 80. Ensure that the listed domains point to this machine and that it can accept inbound connections from the internet.
ERROR: Cert does not exist! Please see the validation error above. The issue may be due to incorrect dns or port forwarding settings. Please fix your settings and recreate the container
From externally in https I should access bittorrent and mioneos, these are the configuration files in swag\nginx\proxy-confs:
minecraftserver.subdomain.confbinhex-qbittorrentvpn.subdomain.conf
In the case of MineOs I renamed the docker to "minecraftserver"
Why doesn't anything work for me?