Skip to content

Commit

Permalink
update certificate setup documentation (ostrya#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
ostrya committed Dec 23, 2020
1 parent 8e651f9 commit 98afd22
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@ certificate via:

* Android 4.0 - 7.1:
* `Settings``Security``Install from SD card`
* Android 8.0+:
* Android 8.0 - 9.0:
* `Settings``Security & location``Encryption & credentials``Install from SD card`
* Android 10:
* `Security``Encryption & credentials``Install from SD card`
* Android 11+:
* `Security``Encryption & credentials``Install a certificate``CA Certificate`

### Client certificates

Expand All @@ -56,6 +60,20 @@ to generate your client certificate:

Make sure your PKCS#12 keystore file has the `.pfx` extension, otherwise Android will not recognize it.

To be able to select this client certificate in Presence Publisher, you first need to add it to
the Android Keystore. This works similar to the process for the server certificate:

* Android 4.0 - 7.1:
* `Settings``Security``Install from SD card`
* Android 8.0 - 9.0:
* `Settings``Security & location``Encryption & credentials``Install from SD card`
* Android 10:
* `Security``Encryption & credentials``Install from SD card`
* Android 11+:
* `Security``Encryption & credentials``Install a certificate``VPN & app user certificate`

After you have imported your client certificate, you will be able to choose it from the app.

## Permissions

* ACCESS_BACKGROUND_LOCATION: on Android 10+, necessary to retrieve SSID of connected Wi-Fi while running in background
Expand Down

0 comments on commit 98afd22

Please sign in to comment.