SSL Pinning
Configuring SSL Pinning
Single SSL Pin
NetmeraConfiguration.Builder configBuilder = new NetmeraConfiguration.Builder();
configBuilder
.baseUrl(baseUrl)
.apiKey(apiKey)
.huaweiSenderId(PropertiesUtil.huaweiSenderId)
.firebaseSenderId(PropertiesUtil.gcmSenderId)
.logging(true)
// Set SSL pin keys
.sslPinKeys(
// Replace with the correct sha256 hash
"sha256/T9g7qeNuY3SHc4tWSlqoHwWb+0Y8whUYn0uuAB3CzHM="
);Multiple SSL Pins
Handling SSL Pinning Errors
Error Log for Invalid SSL Pins

If Improper SSL Pinning Is Configured

Last updated
Was this helpful?