intuitem / ciso-assistant-community

CISO Assistant is a one-stop-shop for GRC, covering Risk, AppSec and Audit Management and supporting +57 frameworks worldwide with auto-mapping: NIST CSF, ISO 27001, SOC2, CIS, PCI DSS, NIS2, CMMC, PSPF, GDPR, HIPAA, Essential Eight, NYDFS-500, DORA, NIST AI RMF, 800-53, 800-171, CyFun, CJIS, AirCyber, NCSC, ECC, SCF and so much more
https://intuitem.com
Other
1.05k stars 128 forks source link

Using own SSL certificate with Caddy #660

Open Greeniezz opened 1 month ago

Greeniezz commented 1 month ago

Firstly thank you guys for your work and everyone on the issue forum Sorry for being so lame :(

I don't find where to tell caddy to use my own domain certificate. Here my docker-compose.yml :

version: "3.9"

services: backend: container_name: backend image: ghcr.io/intuitem/ciso-assistant-community/backend:latest restart: always environment:

Thank you very much for your help !

eric-intuitem commented 1 month ago

I think you should put your certificate and key in the ./caddy_data directory, that will be visible as /data for caddy, and where the Caddyfile is created dynamically. And then, in the Caddyfile creation script, instead of "tls internal", you should use "tls ".