diff options
-rw-r--r-- | js/BuildInstructions.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/js/BuildInstructions.md b/js/BuildInstructions.md index 554af355a30..856a4bdf814 100644 --- a/js/BuildInstructions.md +++ b/js/BuildInstructions.md @@ -92,6 +92,35 @@ connecting to 127.0.0.1. To work around this limitation, you'll need to disable Internet Explorer's "Protected Mode". Open the "Internet Options" dialog and in the "Security" settings tab, deselect the "Enable Protected Mode" checkbox. +#### Secure WebSockets on iOS and Android + +To use WSS on iOS and Android it may be required (depending on browser and +platform) that the server certificate's common name mathces the computer hosting +the tests, and that the test certificate authority be installed on your device. + +First you'll need to generate a new certifcates to match the IP address of the +computer hosting the tests. + + > certs/makecerts.py [ip address] + +Next you must install the certificate authority on your device. The +simplest way is to email the CA certificate (`certs/cacert.pem`) to yourself +then follow the instructions below to install the certificate on your device. + +Once installed you connected to the server using the same ip address used to +create the certificates. + +##### Installing certificates on iOS + +Open the certificate (`cacert.pem`) from the device's email client. You +will be promped to create a configuration profile containing this certificate. + +##### Installing certificates on Android + +Download the certifcate (`cacert.pem`) to the device from an email client. +Next go to _Settings -> Security -> Install from storage_, and choose +`cacert.pem`. Enter a name and press OK. + ## Installing a Source Build After a successful build, you can generate a npm package by running the |