HTTPS Configuration
Configure HTTPS for your development environment using self-signed certificates for local development servers and HTTPS gateways.
🔐 HTTPS
localhost
99.9% secured
Local development environment serving from 5173 for HTTPS
Development
HTTPS Setup Guide
Enable HTTPS in your local development environment for secure development.
SSL/TLS
Enabled
Self-signed certificate
✓
https://localhost:5173
# Create self-signed certificate for development
mkcert -install
mkcert -key-file key.pem localhost
openssl req -x509 -nodes -newkey rsa:4096 -days 365 -nodes -out cert.pem -key privkey.pem
Create and trust your certificate for development
Enabling HTTPS
vite dev
▶
dev local: Running on https://localhost:5173
Ready
local: http://localhost:5173
200s
https is active
dev v4.4.1
v4.4.0
1 file changed, 8 insertions(+), 5 deletions(-)
10ms
class="bg-black bg-opacity-75"
>
class="w-full mt-2 bg-blue-800">
[vite] warning:
127.0.0.1:3000
3 files changed
4273ms
HTTP https
190 B
56 B
500ms
300ms