Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local StartTLS not working #333

Open
Aurel004 opened this issue Feb 26, 2025 · 0 comments
Open

Local StartTLS not working #333

Aurel004 opened this issue Feb 26, 2025 · 0 comments

Comments

@Aurel004
Copy link

Hi,

I have a setup where email-oauth2-proxy is running in a container and clients are talking to it from other containers.
I use Traefik to redirect mydomain.com:1587 to the IP of email-oauth2-proxy.

It is working well but as they are not running on the same machine, plain email text is sent through local network, so I want to use local_starttls = True

I've edited the Traefik config to passthrough TLS to the oauth2-proxy.
Oauth2-proxy has the cert and key using local_certificate_path and local_key_path (did ls -l and read attributes are fine)

In the logs, I can see "Client connected" but it is not sending back the handshake resulting in an error (Time out) on the client side

What am I doing wrong ?

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant