HttpClient: Enable SSL pinning for remaining domains
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -103,6 +103,9 @@ object OkHttpClient : IProxyHttpClient {
|
||||
val certificatePinner = CertificatePinner.Builder()
|
||||
.add("*.googleapis.com", *googleRootCerts)
|
||||
.add("*.google.com", *googleRootCerts)
|
||||
.add("auroraoss.com", "sha256/mEflZT5enoR1FuXLgYYGqnVEoZvmf9c2bVBpiOjYQ0c=") // GTS Root R4
|
||||
.add("*.exodus-privacy.eu.org", "sha256/C5+lpZ7tcVwmwQIMcRtPbsQtWLABXhQzejna0wHFr8M=") // ISRG Root X1
|
||||
.add("gitlab.com", "sha256/x4QzPSC810K5/cMjb05Qm4k3Bw5zBn4lTdO/nEW/Td4=") // USERTrust RSA Certification Authority
|
||||
.build()
|
||||
|
||||
okHttpClientBuilder.certificatePinner(certificatePinner)
|
||||
|
||||
Reference in New Issue
Block a user