-
Thanks a lot for the investigation. Which JDK version are you using?
-
I'm using the one that's embedded in the docker image (1dev/server:latest)
openjdk version "1.8.0_252" OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1~18.04-b09) OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode) -
It turns out that JavaMail version used in OneDev only supports up to TLSv1. Upgraded to latest JavaMail version and TLSv1.2 is the default protocol now.
-
OneDev
changed state to 'Closed' 6 years ago
Previous Value Current Value Open
Closed
-
OneDev
changed state to 'Released' 6 years ago
Previous Value Current Value Closed
Released
| Type |
Bug
|
| Priority |
Minor
|
| Assignee | |
| Affected Versions |
Not Found
|
Issue Votes (0)
Hello! Thanks for creating this software.
I had an issue when sending mails via mailcow. The postfix config only allows TLSv1.2 and above. When sending an email with the default wrapper.conf I got the following stack trace:
Adding the following line to /opt/onedev/conf/wrapper.conf seems to work around the issue (not sure if it's the right solution).
wrapper.java.additional.20=-Dmail.smtp.ssl.protocols=TLSv1.2
Tested on v3.2.1 with docker, STARTTLS checkbox enabled, mail authentication enabled.
Have a nice day!