-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Document that generated self signed certificates go into the data directory #1778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @KaneGreen! The certificate path is mentioned in the guide and the FAQ explains exactly how the config file works. https://github.com/cdr/code-server/blob/master/doc/FAQ.md#how-does-the-config-file-work
Also explained in the FAQ. |
Soon we do plan on making the cli help output more useful and detailed. |
Sir, I've read these. And I know cert will be generated if no cert path is provided. But, where the generated cert are saved? |
Is the FAQ not clear enough about how the config file works?
Great point. It's the data directory but we should document that. |
Oh, sorry. I understood. Firstly, I saw |
I checked the data directory I specified as |
I found the certificate in So clearly we need to document this place, because even project members don’t know where it is. |
Sorry that seems to be a bug. We do need to fix this and document it correctly. |
This has been done and will be in the next release! |
Users can specify paths of the cert and its key inconfig.yaml
if HTTPS is enabled, instead of using--cert
and--cert-key
.In theDocument that generated self signed certificates go into the data directorydoc
directory, I can't find a documentation explaining entries inconfig.yaml
. Luckily, now theconfig.yaml
has a very small number of entries. However, the lack of documentation is always confusing, especially after the file becomes complicated in the future.BTW, I have another question: When HTTPS is enabled but the
--cert
argument is not used, which certificate will be used?Thanks.
The text was updated successfully, but these errors were encountered: