Skip to content

Commit 2c23441

Browse files
committed
fixup! wip iPad docs
1 parent 8f72868 commit 2c23441

File tree

1 file changed

+44
-1
lines changed

1 file changed

+44
-1
lines changed

doc/ipad.md

+44-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,50 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
13
# iPad
24

3-
## How To Access The Self Signed Certificate on iPad
5+
- [iPad](#ipad)
6+
- [How to access code-server with a self signed certificate on iPad](#how-to-access-code-server-with-a-self-signed-certificate-on-ipad)
7+
- [Known Issues](#known-issues)
48

9+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
510

11+
# iPad
12+
13+
## How to access code-server with a self signed certificate on iPad
14+
15+
The following instructions assume you have code-server installed
16+
and running with a self signed certificate.
17+
18+
If not, please first go through [./guide.md](./guide.md)!
19+
20+
**warning**: Do not try to access your code-server instance before completing the below
21+
steps otherwise you may have to restart your iPad as Safari will refuse
22+
to connect to code-server even after you install the certificate.
23+
24+
The below assumes you are using the self signed certificate that code-server
25+
generates for you. If not, that's fine but you'll have to make sure your certificate
26+
abides by the following guidelines from apple: https://support.apple.com/en-us/HT210176
27+
28+
1. Your certificate **must** have a subject alt name that matches the hostname/ip address
29+
at which you will access code-server from your iPad. You can pass this to code-server
30+
so that it generates the certificate correctly with `--cert-host`.
31+
2. Share your self signed certificate with the iPad.
32+
- code-server will print the location of the certificate it has generated in the logs.
33+
34+
```
35+
[2020-10-30T08:55:45.139Z] info - Using generated certificate and key for HTTPS: ~/.local/share/code-server/192_168_0_15.crt
36+
```
37+
38+
- You can mail it to yourself or if you have a Mac, it's easiest to just Airdrop.
39+
40+
3. When opening it, you'll get prompted that it is available to install in settings.
41+
4. Go to `Settings -> General -> Profile -> localhost` and then hit `Install`.
42+
- You may be prompted to hit `Install` again
43+
5. Once installed, accessing code-server should work!
44+
45+
If something goes wrong it's best to remove the profile, exit any tabs
46+
in Safari and restart the iPad. And then try again.
647

748
## Known Issues
49+
50+
There are a few known issues with the iPad support.

0 commit comments

Comments
 (0)