When using WSL, the browser in windows side does not accept the SSL as valid. There is no way to bypass it. The browser refuses to proceed.
Maybe it lacks the CA certificate. If you can explain how I can transfer the CA certificates created by mkcert to windows I believe it would solve the problem. Also, any workaround how to convince the browser to let me continue even if it thinks the site is unsafe could also be acceptable.
start the project with pnpm dev
in windows side browse to the domain dev.cynet.com (you will need to add it to hosts file, pointing to 127.0.0.1). you will see an SSL error
System Info
Output of npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers:
Describe the bug
When using WSL, the browser in windows side does not accept the SSL as valid. There is no way to bypass it. The browser refuses to proceed.
Maybe it lacks the CA certificate. If you can explain how I can transfer the CA certificates created by mkcert to windows I believe it would solve the problem. Also, any workaround how to convince the browser to let me continue even if it thinks the site is unsafe could also be acceptable.
Reproduction
in WSL clone https://github.com/Gorthog/vite-plugin-mkcrt-wsl
start the project with
pnpm dev
in windows side browse to the domain dev.cynet.com (you will need to add it to hosts file, pointing to 127.0.0.1). you will see an SSL errorSystem Info
Output of
npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers
:Used package manager: pnpm
Logs