jakartaee / jakartaee/mail-api
Hostname validation for certificates should be enabled by default
- Dominant language
- Java
- Stars
- 285
- Forks
- 109
- Avg merge
- 15h 19m
- Merged PRs (30d)
- 1
Description
JavaMail 1.0 specifications has hostname validation of certificates disabled by default [1]. This is a very insecure default configuration, and opposite to what would be expected as a default.
As part of Jakarta Mail 2.0 this should be changed to be secure by default.
[1] mail.smtp.ssl.checkserveridentity defaults to false
Contributor guide
Research direction
Start by reviewing the Jakarta Mail 2.0 specification and the mail.smtp.ssl.checkserveridentity property, whose default is currently false. Trace where this default is defined and identify the specification or compatibility tests that cover it. Done means hostname certificate validation is enabled by default and the documented behavior is consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100