Android VAPT Notes — Cleartext Traffic & SSL/TLS Pinning Android VAPT Interview Notes Cleartext Traffic, HTTP/HTTPS, SSL/TLS Validation, Certificate Pinning & Public-Key Pinning Cleartext traffic Android configuration TLS validation Pinning concepts How pinning works VAPT testing Interview answers 1. What happens when cleartext traffic is enabled? When an Android app allows cleartext traffic, it is permitted to communicate using unencrypted protocols such as HTTP. The traffic is not protected by TLS encryption. Simple explanation: cleartextTrafficPermitted="true" allows cleartext HTTP communication. It does not encrypt traffic. Real-life example Imagine a banking app sending a login request over HTTP while the user is connected to public airport Wi-Fi: The user enters their username and password. The app sends the request over HTTP. An attacker positioned on the same network may intercept the traff...