Files
insta-recipe/docs/outcomes/GenerateSSLFromExternalCaddy.md
Giancarmine Salucci 9357bd483a fix
2025-12-21 02:03:05 +01:00

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-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.