You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the certificates are fetched and verified on Android and iOS, the headers of the actual request are sent.
In case of a MITM attack, HTTP headers, which often contain authorization headers, are leaked to the attacker.
My suggestion:
Headers are not needed to download the certificates
There is no need to do a full HTTP request to get the certificates. Opening a SSL/TLS connection is sufficient.
Here is an example to fetch the certificates with an SSLSocket in Kotlin:
When the certificates are fetched and verified on Android and iOS, the headers of the actual request are sent.
In case of a MITM attack, HTTP headers, which often contain authorization headers, are leaked to the attacker.
My suggestion:
Here is an example to fetch the certificates with an
SSLSocket
in Kotlin:The text was updated successfully, but these errors were encountered: