Jump to content

docker https problem


Recommended Posts

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:

image.png.8b9416a5552c0d06044ad1b494a3f99f.png

 

Modem open port:

image.png.75d306004fbc177ad9b36b92a14583c0.png

 

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?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...