Closed quantumwebco closed 2 years ago
Sorry,i can not get any useful information from your description, please provide debug logs or screenshots.
I think it's a WSL2 thing. I did a completely fresh install of vite with vue, installed this plugin, added it to config, ran dev and get the error
I tried following this guide https://www.ashleyconnor.co.uk/2021/06/07/configuring-ssl-certificates-for-local-development but the plugin generates a new cert inside linux and uses that so it's not valid in windows
I see the mkcertPath but the docs are lacking so couldn't get it to read from the proper mkcert keys
Gave up in the end and created a proper vhost in apache and created a proper key/crt file which works fine
Describe the bug
Installed the plugin, added to config as the docs say. But the certificate is invalid. It says it's issued to my user and group rather than localhost or something and it just says it's invalid, not stored in trusted root etc.
Reproduction
Just a new fresh vite install
System Info
Output of
npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers
:Used package manager: yarn
Logs