Skip to content

Feature/support certificate verification#6

Merged
Syed-Shahrukh-OSSRevival merged 3 commits intomasterfrom
feature/support-certificate-verification
Feb 19, 2026
Merged

Feature/support certificate verification#6
Syed-Shahrukh-OSSRevival merged 3 commits intomasterfrom
feature/support-certificate-verification

Conversation

@Syed-Shahrukh-OSSRevival
Copy link
Member

@Syed-Shahrukh-OSSRevival Syed-Shahrukh-OSSRevival commented Feb 19, 2026

Description

ssmtp certificate verification support was missing, so vulnerable to MitM.
To achieve following changes are made:

  • Add support for trust certificate file and directory.
  • Add support for certificate verification.
  • Config option to set trust certificate file and directory.
  • Config option to enable/disable certificate and hostname verification.
  • Config option to enable/disable self signed certificate.
  • Fix SSL context and object release on failure.

Related Ticket

Fixes #4

Checklist

  • I have performed a self-review of my code
  • Documentation updated

  - Add support for trust certificate file and directory.
  - Config option to set trust certificate file and directory.
  - Config option to enable/disable certificate and hostname verification.
  - Config option to enable/disable self signed certificate.
  - Fix SSL context and object release on failure.
@Syed-Shahrukh-OSSRevival Syed-Shahrukh-OSSRevival force-pushed the feature/support-certificate-verification branch from d35b00e to c9b039d Compare February 19, 2026 22:25
@Syed-Shahrukh-OSSRevival Syed-Shahrukh-OSSRevival changed the title Feature/support certificate verification fixes #4 Feature/support certificate verification Feb 19, 2026
@Syed-Shahrukh-OSSRevival Syed-Shahrukh-OSSRevival merged commit 0b70b61 into master Feb 19, 2026
1 check passed
@Syed-Shahrukh-OSSRevival Syed-Shahrukh-OSSRevival deleted the feature/support-certificate-verification branch February 19, 2026 23:07
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.

ssmtp might be vulnerable to MitM (add support for certificate verification)

1 participant