-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
error enabling StartTLS: x509: certificate is valid for 127.0.0.1, not <ip/hostname> #43
Comments
Also been running in to this issue and I am gong to see if I can figure out how to pass a docker env variable through to the container so we can generate a cert with the correct common name / ip address. I am trying to use this as a LAN only email notification service and I am finding that a lot of services do not support disabling certificate verification. |
Has anyone been able to figure this out? |
I was able to workaround this part of my issue by generating a certificate, and then using
Note the Addendum: I got this working with linuxserver/swag generated certs (using ZeroSSL, but presumably works with LetsEncrypt). Use |
I'm having difficulty following your instructions - could I ask you to clarify, please?
I'm on unraid, and Do we know the location of the self-signed cert? If I can just overwrite it, that'd be nice, too. |
@ads103 I had to use |
Whenever I'm trying to connect an external service through protonmail-bridge smtp, this seems to be what's generated.
If I change the
starttls
value of whatever service I'm connecting the error message changes to "error authenticating: unencrypted connection".I've tried setting connection to ExplicitTLS the same error message remains, and if I change it to ImplicitTLS I get
error getting SMTP client: error connecting to server: tls: first record does not look like a TLS handshake
I also tried confirming the smtp connectivity in combination with Plain Auth and this is what I got:
454 4.7.0 Invalid response
I'm suspecting that STARTTLS and Plain Auth don't play nicely together? If this is the case, is there any workaround ?
The text was updated successfully, but these errors were encountered: