Skip to content

Commit 65085f1

Browse files
Update README.md
1 parent 7039006 commit 65085f1

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

CertificatePinningSample/README.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,4 @@
22

33
The Face SDK is a framework that is used for face matching, recognition, and liveness detection.
44

5-
In this sample, we demonstrate how configure Certificate Pinning in the Android application.
6-
7-
## Steps
8-
9-
Here is a detailed instruction on how to generate a key for the Android app:
10-
https://docs.regulaforensics.com/develop/face-sdk/mobile/getting-started/web-service-setup/certificate-pinning/
11-
12-
1. In your mobile app, create an `.xml` file at the following location:
13-
`main/res/xml/network_security_config.xml`
14-
2. In the `AndroidManifest.xml` file, set up the following config in the application area:
15-
android:networkSecurityConfig="@xml/network_security_config"
16-
3. In `network_security_config.xml`, replace the placeholder 'domain' with your actual domain, and update the `SHA-256` certificate hash accordingly.
5+
Here is a detailed guide to the SSL pinning process on Android, focusing on generating the certificate’s public hash key and integrating it into the Android Network Security Configuration: https://docs.regulaforensics.com/develop/face-sdk/mobile/getting-started/web-service-setup/certificate-pinning/#certificate-pinning-android

0 commit comments

Comments
 (0)