You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some internally created cert is returned instead of the one specified in the config.
$ openssl s_client -showcerts -servername localhost -connect localhost:5000 <<<"Q"| openssl x509 -text | grep -iA2 "Validity"
depth=0 CN = example.org, C = US, ST = Virginia, L = Blacksburg, O = Test, OU = Test
verify error:num=18:self-signed certificate
verify return:1
depth=0 CN = example.org, C = US, ST = Virginia, L = Blacksburg, O = Test, OU = Test
verify return:1
DONE
Validity
Not Before: Jun 29 10:05:25 2022 GMT
Not After : Jul 29 10:05:25 2022 GMT
Describe the bug
The custom cert config in
config.kit.vite.[preview|server].https
is now ignored bysvelte-kit preview --https ...
.This patch works, but I don't know if it's the correct fix:
Reproduction
svelte.config.js:
run:
$ npx svelte-kit preview --https --host --port 5000
Some internally created cert is returned instead of the one specified in the config.
Logs
No response
System Info
$ npx envinfo --system --binaries --browsers --npmPackages "{svelte,@sveltejs/*,vite}" System: OS: Linux 5.10 Generic 36 (Generic) 36 (Generic) CPU: (8) x64 Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz Memory: 14.75 GB / 15.59 GB Container: Yes Shell: 5.1.16 - /bin/bash Binaries: Node: 16.14.0 - /usr/bin/node npm: 8.13.1 - /usr/local/bin/npm
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: