-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
HTTPS dev (with custom key/cert) broken after 1.0.0-next.168 #2617
Comments
@benmccann: Here is the issue per your request. |
Thanks @talgolan! A couple clarifications:
|
|
I can't run |
@benmccann: mkcert works on Linux. Just follow the instructions here... https://github.com/FiloSottile/mkcert Jump to the Linux section. You need to install certutil first. FYI: As you know, localhost gets special treatment by all OSs. mkcert not only simplifies the key/cert generation processes, it puts the certs into the correct browser "trusted stores." I'm pretty sure once you install certutil (per the mkcert Linux instructions), you should be able to just run npm run install_mkcert. If you run into any issues, just look at install_mkcert.sh. It is a painfully basic script. |
Ok. I finally got it working. I had to add |
Awesome. Thank you. |
I found a few different bugs:
|
What changed with respect to this at v168+? |
@benmccann: I just upgraded to 1.0.0-next.188 and everything is working as expected. Thank you! |
Describe the bug
svelte-kit dev --https does not work with user-configured key/cert after 1.0.0-next.168
Reproduction
https://github.com/talgolan/sveltekit-https-dev
SvelteKit HTTPS Example:
This respository is designed to demonstrate the following:
[ Via @sveltejs/kit: 1.0.0-next.168 ]
[ Via @sveltejs/kit: 1.0.0-next.184 (any version > 168) ]
Assumption:
Instructions (part 1):
First observation:
Instructions (part 2):
Second observation:
Instructions (part 3):
Third observation:
Final observation:
Logs
No response
System Info
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: