Skip to content

Instantly share code, notes, and snippets.

View IT-ess's full-sized avatar

Alexis L IT-ess

View GitHub Profile

Solving Poste.io SSL/TLS Issues on Dokploy (Traefik) by Syncing Certs from acme.json

I’m sharing this guide because I spent a lot of time troubleshooting SSL errors while setting up Poste.io behind Dokploy. If you are using Dokploy, you likely noticed that the Let's Encrypt certificates managed by Traefik work perfectly for the web dashboard but aren't automatically applied to the mail server ports (25, 587, 993, 995, etc.). This leads to "SSL/TLS Handshake" errors in external clients like Gmail or Outlook.

The Problem

When trying to generate certificates inside Poste.io itself using the built-in Let's Encrypt client, I constantly hit this error: LEScript.ERROR: 400 ... Unable to update challenge :: authorization must be pending

The Solution: "Reverse Sync"

Instead of forcing Poste.io to get its own certificate, this method "feeds" Dokploy's existing certificates into the Poste.io container. This ensures that the Full Chain (Leaf + Intermediate certificates) is present, which is r

@cfstras
cfstras / 0_Mirror a repository using GitLab CI.md
Last active August 14, 2025 13:07
How to mirror a repository using GitLab CI

Mirroring a repository using GitLab CI

inspired by https://gitlab.com/freifunkks/mirror-scripts

This can be used, for example, to clone a repository living on github over to GitLab in order to run CI

Setup

  • Setup separate repository with mirror scripts. We'll call it "mirror-scripts"
  • push the two files below.
  • in the .gitlab-ci.yml replace MY_REPO with your repo name