-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into gs-upload-test
- Loading branch information
Showing
22 changed files
with
430 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,44 @@ jobs: | |
run: ./scripts/ci.sh | ||
|
||
- name: Run tests | ||
run: npm test | ||
env: | ||
CI: true | ||
ALLOW_SECURE_MODE: true | ||
|
||
- uses: actions/upload-artifact@v3 | ||
if: always() | ||
with: | ||
name: test-screenshots | ||
path: screenshots/ | ||
|
||
build-insecure: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [18.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
|
||
- name: Configure git | ||
env: | ||
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
run: git config --global url."https://${TOKEN}:[email protected]/".insteadOf "https://github.com/" | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Download and install supplementary addons and test data | ||
run: ./scripts/ci.sh | ||
|
||
- name: Run tests (http mode) | ||
run: npm test | ||
env: | ||
CI: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
layout: doc | ||
title: Installing Self-signed Certificates on iOS | ||
permalink: /docs/dive-deeper/internals/ios-self-signed-certificates | ||
--- | ||
|
||
The overall process to trusting a local edge server's self-signed certificates | ||
is to download the cert onto the phone then trust the "Profile" this cert | ||
provides in the phone's settings. | ||
|
||
### Download cert.pem onto phone | ||
We need to get the file `cert.pem` onto the phone. One such tool is python's built-in http server: | ||
|
||
![terminal window showing results of running python3's http server module](./assets/python3-http-server.png) | ||
|
||
Next, navigate to http://your-edge-server-ip-address:8000/ to see a listing of | ||
all files in this directory and download cert.pem from the list. | ||
|
||
![a directory listing in Safari on iOS](./assets/downloading-certpem.png) | ||
|
||
The page will prompt you if you trust this configuration profile. Accept this prompt and open the Settings app to finish trusting the profile. | ||
|
||
![a popup from Safari asking whether you trust the configuration profile](./assets/downloading-certpem-clicked.png) | ||
|
||
### Trust configuration profile in Settings | ||
|
||
In the Settings app there will be a helpful shortcut "Profile Downloaded" to | ||
navigate directly to trusting the newly downloaded profile. | ||
|
||
![Settings app with "Profile Downloaded" shortcut button visible](./assets/settings-with-profile-downloaded.png) | ||
|
||
Tap this shortcut to move onto trusting the profile. Press "Install" on this | ||
next screen and enter your passcode to finish the trusting process. | ||
|
||
![A prompt to the user to install the new configuration profile](./assets/settings-profile-install.png) | ||
|
||
With this entire process complete, you should now see the Configuration Profile | ||
reflected in the Settings - VPN and Device Management list of profiles. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.