Skip to content

Clearing up confusion with TLS and SSL in Email Library #3430

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

Merged
merged 3 commits into from
Aug 1, 2020
Merged

Clearing up confusion with TLS and SSL in Email Library #3430

merged 3 commits into from
Aug 1, 2020

Conversation

tangix
Copy link
Contributor

@tangix tangix commented Jul 31, 2020

Description
fixes #3429

Making sure connection for email submissions to port 465 is always using implicit TLS as per RFC8314.
Updating docs to describe the differences between port 465 and 587 and why/when STARTTLS is required and the setting $SMTPCrypto.
Current implementation only enables TLSv1.0 for the upgrade after STARTTLS, this PR enables versions 1.0, 1.1 and 1.2.

Checklist:

  • Securely signed commits
  • Component(s) with PHPdocs
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@michalsn michalsn merged commit 2364200 into codeigniter4:develop Aug 1, 2020
@michalsn
Copy link
Member

michalsn commented Aug 1, 2020

Good changes! Thank you for working on it.

@lonnieezell
Copy link
Member

Very nice, thanks!

@tangix tangix deleted the mail-tls-fixes branch August 9, 2020 09:12
@kenjis kenjis changed the title Clearing up confusion with TLS and SSL in Email Library, fixes #3429 Clearing up confusion with TLS and SSL in Email Library May 27, 2023
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

Successfully merging this pull request may close these issues.

Bug: SMTP to port 465 should use TLS from the start
4 participants