docker images hardware/mailserver --digests --filter "dangling=false"
REPOSITORY TAG DIGEST IMAGE ID CREATED SIZE
hardware/mailserver 1.1-stable sha256:e56eb759a61b483924708c1eb5fb81d5aa32191ef420c197e7313cc1b0137364 a4f7ef1fb6d3 4 days ago 379MB
Description
I got this error :
[INFO] Traefik SSL certificates not used
[INFO] Let's encrypt live directory found
[INFO] Using /etc/letsencrypt/live/mail.domain.fr folder
[ERROR] No keyfile found in /etc/letsencrypt/live/mail.domain.fr !
Expected results
Generated certificate in the letsencrypt path
Actual results
Folder empty
Debugging information
docker logs mailserver
[INFO] Search for SSL certificates generated by Traefik
[ERROR] The certificate for mail.2rock.fr or the private key was not found !
[INFO] Don't forget to add a new traefik frontend rule to generate a certificate for mail.2rock.fr subdomain
[INFO] Look /mnt/docker/traefik/acme/dump.log and 'docker logs traefik' for more information
[INFO] Search for SSL certificates generated by Traefik
jq: error: Could not open file /etc/letsencrypt/acme/acme.json: No such file or directory
[ERROR] The certificate for mail.2rock.fr or the private key was not found !
[INFO] Traefik SSL certificates not used
[INFO] Let's encrypt live directory found
[INFO] Using /etc/letsencrypt/live/mail.2rock.fr folder
[ERROR] No keyfile found in /etc/letsencrypt/live/mail.2rock.fr !
.env
# This file is used to define environment variables to be used
# for variable substitution in your docker compose file.
# https://docs.docker.com/compose/env-file/
#
# MANDATORY
# /!\ if this variables are unset, the mail server will not start.
#
# Your domain name (eg. domain.tld)
MAILSERVER_DOMAIN=domain.fr
# MariaDB/PostgreSQL database password
DATABASE_USER_PASSWORD=**********
# Rspamd WebUI and controller password
RSPAMD_PASSWORD=************
#
# NOT MANDATORY
#
# Your mailserver hostname (eg. mail for mail.domain.tld)
MAILSERVER_HOSTNAME=mail
# Mailserver version
# 1.1-stable : Stable version (v1.1-stable github branch)
# 1.1-latest : Latest development build (master github branch)
# Latest development builds have been validated through
# the CI automation system but they are not meant for
# deployment in production.
# 1.1-stable and 1.1-latest are rebuilt weekly on the docker hub but if you
# have any problem with a new build you can switch to 1.1-stable-fallback
# The fallback tag is rebuilt monthly.
MAILSERVER_DOCKER_TAG=1.1-stable
# Docker volumes parent folder
VOLUMES_ROOT_PATH=/mnt/docker
# Docker containers restart mode
# https://docs.docker.com/compose/compose-file/#restart
RESTART_MODE=unless-stopped
OPENDKIM_KEY_LENGTH=2048
DEBUG_MODE=true
Classification
Reproducibility
Docker information
Description
I got this error : [INFO] Traefik SSL certificates not used [INFO] Let's encrypt live directory found [INFO] Using /etc/letsencrypt/live/mail.domain.fr folder [ERROR] No keyfile found in /etc/letsencrypt/live/mail.domain.fr !
Expected results
Generated certificate in the letsencrypt path
Actual results
Folder empty
Debugging information
Configuration (docker-compose.yml, traefik.toml...etc)