20 lines
835 B
Markdown
20 lines
835 B
Markdown
# 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-proxy` in the external container to trigger automatic HTTPS for `localhost`.
|
|
- **Files**: Copied `localhost.crt`, `localhost.key`, and `root.crt` to `.ssl/`.
|
|
- **Configuration**: Updated `vite.config.ts` to use the new certificate files.
|
|
- **Documentation**: Added instructions to `README.md` for trusting the root CA.
|
|
|
|
## Verification
|
|
- Certificates exist in `.ssl/`.
|
|
- `vite.config.ts` points to the correct files.
|
|
- `README.md` contains setup instructions.
|
|
|
|
## Next Steps
|
|
- Run `npm run dev` to verify the server starts with HTTPS.
|
|
- Follow the instructions in `README.md` to trust the certificate.
|