MASTG-DEMO-0048: SSLSocket Connection to Wrong Host Server Allowed by Lack of HostnameVerifier
Placeholder MASTG-DEMO
This demo hasn't been created yet and it's a placeholder. But you can check its status or start working on it yourself. If the issue has not yet been assigned, you can request to be assigned to it and submit a PR with the new content for that demo by following our guidelines.
Check our GitHub Issues for MASTG-DEMO-0048
If an issue doesn't exist yet, please create one and assign it to yourself or request to be assigned to it.
Draft Description¶
This demo shows how to connect to a server that delivers a certificate with a wrong or invalid hostname using SSLSocket which inherently doesn't perform any hostname validation checks.
For more details, check the associated test: @MASTG-TEST-0234