fix
This commit is contained in:
19
docs/outcomes/GenerateSSLFromExternalCaddy.md
Normal file
19
docs/outcomes/GenerateSSLFromExternalCaddy.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user