dunglas / symfony-docker

A Docker-based installer and runtime for Symfony. Install: download and `docker compose up`.
https://dunglas.dev/2021/12/symfonys-new-native-docker-support-symfony-world/
2.6k stars 778 forks source link

Mercure setup fails with locally generated certificates #673

Closed papppeter closed 1 month ago

papppeter commented 1 month ago

Hi,

i have a locally installed certificates, created with mkcert.

site itself is working, with the suggested modifications form this issue: https://github.com/dunglas/symfony-docker/issues/604

php:443, added extra CADDY_GLOBAL_OPTIONS: ${CADDY_GLOBAL_OPTIONS:-auto_https off}

but in this case i cannot reach http://php inside the container. Of course there is no 80 port. if i try to reach https://php inside the container, cert check are failing

should i copy root certificatie into docker, and install it? would it be a solution? or is there a setup where i can enable php:80 and inside the docker container i don't need to check certificates?

maxhelias commented 1 month ago

Hi! Yes, you must copy it. I hope the answers provided here will help you further : https://github.com/dunglas/symfony-docker/issues/604#issuecomment-2375188692

papppeter commented 1 month ago

Hi,

thanks for your help, by the way copy was not neccesary to make it work. I followed #604 steps you did highlited in your comment.