Description
code-server
version: 2.1638-vsc1.39.2- OS Version: Debian Buster Container (php-apache), running on a RHEL7 docker swarm
Description
Release notes state...
If you aren't doing SSL termination elsewhere you can directly give code-server a certificate with code-server --cert followed by the path to your certificate. Additionally, you can use certificate keys with --cert-key followed by the path to your key. If you pass --cert without any path code-server will generate a self-signed certificate.
code-server --help
says...
--cert Path to certificate. If the path is omitted,
both this and --cert-key will be generated.
Neither of which has changed from the previous beta release 2.1523-vsc1.38.1
So I run with the same arguments that was working before...
PASSWORD=xxxx code-server . --port 8443 --auth password --cert '' --disable-telemetry
But it fails to set up a HTTPS with self-signed certificate
info Server listening on http://localhost:8443
info - Using custom password for authentication
info - Not serving HTTPS
Which brings us back to a point I made before in #1052 , now closed.
How can you specify no path for --cert
option without that option being the last option in the command line?
Assuming that is the problem, I made the --cert option the last option with nothing following...
PASSWORD=xxxxx code-server . --port 8443 --auth password --disable-telemetry --cert
produces the same result
ASIDE: I have noted before that I no longer not need to specify --auth password
as it is again the default, as it was for CS v1