Skip to content

Commit 7039006

Browse files
Fixed link to Certificate Pinning
1 parent f3c3b8b commit 7039006

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

CertificatePinningSample/README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
# Regula Face SDK (Android version)
2-
Face SDK is a framework that is used for face matching, recognition, and liveness detection.
3-
In this sample we demonstrate how configure Certificate Pinning in the Android app
2+
3+
The Face SDK is a framework that is used for face matching, recognition, and liveness detection.
4+
5+
In this sample, we demonstrate how configure Certificate Pinning in the Android application.
46

57
## Steps
68

7-
Here you can find how to generate key for the android app
8-
https://nikunj-joshi.medium.com/ssl-pinning-increase-server-identity-trust-656a2fc7e22b
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/
911

10-
1. In the mobile app you need to create xml file (main/res/xml/network_security_config)
11-
2. In the AndroidManifest.xml you need to set up config above in the application area:
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:
1215
android:networkSecurityConfig="@xml/network_security_config"
13-
3. In the network-security-config you need to replace 'domain' to your and replace 'SHA-256'
16+
3. In `network_security_config.xml`, replace the placeholder 'domain' with your actual domain, and update the `SHA-256` certificate hash accordingly.

0 commit comments

Comments
 (0)