[SOLVED] SSL Connection Fails - No idea what to do next

Hello everyone,

I've been struggling with this for 2 days.
I'd appreciate any help.

COMPOSE FILE.
============
version: "3.3"
networks:
  web:
    external: true
  internal:
    external: false

services:

  traefik:
    image: "traefik:v2.4"
    container_name: "traefik"
    #command:
    #  #- "--log.level=DEBUG"
    #  - "--api.insecure=true"
    #  - "--providers.docker=true"
    #  #- "--providers.docker.exposedbydefault=true"
    #  #- "--entrypoints.web.address=:80"
    ports:
      - "80:80"
      - "8080:8080"
    volumes:
      - "/var/run/docker.sock:/var/run/docker.sock:ro"
      - ${APP_DATA_DIR}/traefik:/etc/traefik
      - ${APP_DATA_DIR}/traefik/acme.json:/acme.json
      - ${SHARED_DIR}:/shared
    networks:
      - web
      - internal

  # KOMGA
  komga:
    image: gotson/komga
    container_name: komga
    labels:
      - com.centurylinklabs.watchtower.enable=true
      - traefik.enable=true
      - traefik.http.routers.komga.rule=Host(`komga.${DOMAINNAME}`)
      - traefik.http.routers.komga.entrypoints=websecure
      - traefik.http.routers.komga.tls=true
      #- traefik.http.routers.komga.service=komga

      - traefik.http.routers.komga.tls.certresolver=letsEncrypt
      
    volumes:
      - ${SHARED_DIR}:/shared
      - ${MEDIA_SHARE}:${MEDIA_SHARE}
      - ${APP_DATA_DIR}/komga:/config
      - /etc/timezone:/etc/timezone:ro
#
    environment:
      - KOMGA_REMEMBERME_KEY=5962 #required to activate the remember-me auto-login via cookies
      - KOMGA_REMEMBERME_VALIDITY=2592000 #validity of the cookie in seconds, here 1 month
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
    restart: unless-stopped
    ports:
      - 2302:8080
    networks:
      - internal


TRAEFIK.YML
===============
global:
  checkNewVersion: false
  sendAnonymousUsage: false
entryPoints:
  web:
    address: :80
    #http:
    #  redirections:
    #    entryPoint:
    #      to: websecure
    #      scheme: https
  websecure:
    address: ":443"
    #http:
    #  tls:
    #    certResolver: letsEncrypt
    #    domains:
    #      - main: "domain.com"
    #        sans:
    #          - "*.domain.com"
certificatesResolvers:
  letsEncrypt:
    acme:
      #caServer: "https://acme-v02.api.letsencrypt.org/directory"
      #caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
      email: email
      storage: /acme.json
      httpChallenge:
        entryPoint: web
        

providers:
  docker:
    endpoint: unix:///var/run/docker.sock
    exposedByDefault: false
  #file:
  #  directory: /etc/traefik/dynamic/
api:
  insecure: true
  dashboard: true
log:
  filePath: /etc/traefik/traefik.log
  format: common #json
  level: INFO

Thankls a lot in advance

Solved !!
Just added 443, in the open ports of traefik, and it worked.

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