Skip to content

Conversation

giantcow
Copy link

Describe in detail the problem you had and how this PR fixes it

Corrects filenames for LetsEncrypt files, they are not saved as .cer or .key but all as .pem.

Is there an open issue you can link to?

No

LetsEncrypt sends PEM files for the Cert/Key/Chain.
@@ -73,8 +73,8 @@ Options:

### Cert and Cert Key
To encrypt the traffic between the browser and server use `code-server --cert=` followed by the path to your `.cer` file. Additionally, you can use certificate keys with `code-server --cert-key` followed by the path to your `.key` file.
> Example (certificate and key): `code-server --cert /etc/letsencrypt/live/example.com/fullchain.cer --cert-key /etc/letsencrypt/live/example.com/fullchain.key`
> Example (if you are using Letsencrypt or similar): `code-server --cert /etc/letsencrypt/live/example.com/fullchain.pem --cert-key /etc/letsencrypt/live/example.com/privkey.key`
> Example (certificate and key): `code-server --cert /etc/letsencrypt/live/example.com/fullchain.pem --cert-key /etc/letsencrypt/live/example.com/fullchain.pem`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two examples are exactly the same after this change.

Suggested change
> Example (certificate and key): `code-server --cert /etc/letsencrypt/live/example.com/fullchain.pem --cert-key /etc/letsencrypt/live/example.com/fullchain.pem`

@sr229
Copy link
Contributor

sr229 commented Sep 12, 2019

Obsoleted by GH-857.

@sr229 sr229 closed this Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants