PC Client Map: Installing the Self-Signed Root Certificate
Due to changes with Google's Javascript Map API, the PC Client will no longer show the map view within the PC Client application itself. Instead, the PC Client will launch the map into the user's default web browser.
The look and feel of the map remains largely identical to the prior in-app map view, except for a few necessary tweaks due to changes in the Google API and the new communication mechanism between the application and the browser window.
New Method
Starting in PC Client 16.0, instead of showing the map inside of the PC Client app, it will launch the map into the user's default web browser. This requires a new local socket connection between the application and the map running in the browser. See the orange arrow in the diagram below which is the new local web socket.
With the new websocket, the security required must match the security used when fetching the static map content from the ESChat download site. Specifically, they must either use SSL (https and wss) or neither use SSL (http and ws). We have set the default within the application to be the insecure method which requires nothing further from the user.
If the user or the user's organization requires the use of https on the outbound connection to the ESChat download site, the local web socket must also be secure. Since the Java application is the server for this socket, it must have an X.509 certificate that is verifiable by the browser.
For this setup, it is not possible to obtain a standard certificate verifiable by the default root certificates included in browsers. Thus, we have provided a self-signed root certificate that must be installed into the browser or OS.
Instructions for installing this self-signed root certificate on Windows are provided below. Please note that these steps are only possible for users with admin credentials to the PC.
- Navigate to C:\Program Files\ESChatPCClient\keys
- Right click on the root.crt file and click "Install Certificate".
- Click "Local Machine".
- Click on "Place all certificates in the following store"
- Click browse and select "Trusted Root Certificate Authorities".
- Click Finish.
- Run "certmgr.msc". You can enter this in the Start menu search bar.
- Click on "Trusted Root Certificate Authorities" then "Certificates".
- Look for "eschat.com" and double click to open.
- Click on the details tab and verify the Serial number matches 287aef8e2f80cd360cf834981de88a472c241aa2
- Run the PC Client.
- In Options, go the the Map Options tab and enable the "Use Secure Connection" option. Accept the changes.
- The web browser should reload the map to the https site.