Loading the Root CA Certificate to ICE Mobile
The objective of this process is to save the root CA certificate to the ICE Mobile app's document directory. The app references that file to support self-sign certification. ICE Mobile will not find the root CA certificate unless the .pem file is placed in the correct document directory.
The examples used below are for reference and based on an Apple iPhone running iOS 14 and a Samsung phone running Android 10, respectively. Your device menus and settings may differ significantly, but the objective remains the same.
Objective: Save the root CA certificate file to the ICE Mobile app's document directory. You can confirm the directory path is correct by looking for the presence of a README.txt document.
To upload the root CA certificate on iOS
1. Save the file to the native Files app, just as you would do for an email attachment.
2. Open the Files app.
3. Long press on the root CA certificate file.
4. From the resulting menu, select ICE Mobile and then select Copy.
5. Navigate to Files > On my iPhone > ICE Mobile and paste the file.
To upload the root CA certificate on Android
1. Transfer the file to the target device via email, text, or other means.
2. Copy the file from its source location on the device to the following location on the same device:
Internal storage > Android > data > com.dillonkane.ice.flutter > files.
3. Open ICE Mobile. If the application is currently running, log out and log back in.
4. On starting a new session with the ICE Server, the app checks the file directory and applies the root CA located in this directory. If the root CA certificate and all intermediates are present, the app will successfully connect to the ICE Server.