Archived
1
0

util: Generate self signed certificate into data directory

Closes #1778
This commit is contained in:
Anmol Sethi
2020-10-30 04:13:22 -04:00
parent 860c99e3b8
commit 10b3028196
3 changed files with 14 additions and 9 deletions

View File

@ -144,6 +144,9 @@ For HTTPS, you can use a self signed certificate by passing in just `--cert` or
pass in an existing certificate by providing the path to `--cert` and the path to
the key with `--cert-key`.
The self signed certificate will be generated into
`~/.local/share/code-server/self-signed.cert`.
If `code-server` has been passed a certificate it will also respond to HTTPS
requests and will redirect all HTTP requests to HTTPS.