835 B
835 B
Outcome: Generate SSL From External Caddy
Summary
Successfully generated SSL certificates using the external Caddy container and configured the project to use them.
Changes
- Certificate Generation: Used
caddy reverse-proxyin the external container to trigger automatic HTTPS forlocalhost. - Files: Copied
localhost.crt,localhost.key, androot.crtto.ssl/. - Configuration: Updated
vite.config.tsto use the new certificate files. - Documentation: Added instructions to
README.mdfor trusting the root CA.
Verification
- Certificates exist in
.ssl/. vite.config.tspoints to the correct files.README.mdcontains setup instructions.
Next Steps
- Run
npm run devto verify the server starts with HTTPS. - Follow the instructions in
README.mdto trust the certificate.