Skip to content

Verify Mattermost TLS by default - #294

Merged
abeldantas merged 1 commit into
sandbox-quantum:mainfrom
jameshoweee:security/mattermost-verify-tls
Sep 4, 2026
Merged

Verify Mattermost TLS by default#294
abeldantas merged 1 commit into
sandbox-quantum:mainfrom
jameshoweee:security/mattermost-verify-tls

Conversation

@jameshoweee

Copy link
Copy Markdown
Contributor

The Mattermost driver hardcoded verify=False, so the admin password and bot tokens were sent over an unverified https connection (a MITM could capture them).

Fix: default TLS verification on; add a verify_tls opt-out for a trusted self-signed internal CA.

_create_driver hardcoded verify=False, so the admin password and bot tokens
were sent over an unverified https connection (a MITM could capture them).
Default TLS verification on, with a verify_tls opt-out for a trusted self-signed
CA.
@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown

All contributors have signed the CLA. ✅
Posted by the CLA Assistant Lite bot.

@jameshoweee

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@amaudruz

Copy link
Copy Markdown
Collaborator

recheck

1 similar comment
@jameshoweee

Copy link
Copy Markdown
Contributor Author

recheck

@abeldantas abeldantas left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@abeldantas
abeldantas merged commit 4565263 into sandbox-quantum:main Sep 4, 2026
10 of 11 checks passed
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.

3 participants