Update instructions to configure Mac client

This commit is contained in:
oldnapalm
2020-04-03 18:23:12 -03:00
committed by GitHub
parent c1ff141746
commit 433fe0ce76
+19 -1
View File
@@ -103,7 +103,7 @@ to generate your own certificates and do the same.
* Using a text editor open ``~/Library/Application Support/Zwift/data/cacert.pem``
* Append the contents of ``ssl/cert-zwift-com.pem`` to cacert.pem
* Using a text editor (with admin privileges) open ``/etc/hosts``
* Append this line: ``<zoffline ip> us-or-rly101.zwift.com secure.zwift.com cdn.zwift.com``
* Append this line: ``<zoffline ip> us-or-rly101.zwift.com secure.zwift.com cdn.zwift.com launcher.zwift.com``
<br />(Where ``<zoffline ip>`` is the ip address of the machine running zoffline. If
it's running on the same machine as Zwift, use ``127.0.0.1`` as the ip.)
@@ -111,6 +111,24 @@ Why: We need to redirect Zwift to use zoffline and convince OS X and Zwift to
accept zoffline's self signed certificates for Zwift's domain names. Feel free
to generate your own certificates and do the same.
* Using a text editor (with admin privileges) open ``/Applications/Zwift.app/Contents/Info.plist``
* Append these keys:
```
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>zwift.com</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
</dict>
</dict>
```
</details>
<details><summary>Android (requires a rooted device)</summary>