lmenezes / cerebro-docker

official cerebro docker image
118 stars 40 forks source link

play.ws.ssl.loose.acceptAnyCertificate=true #8

Open aviramradai opened 3 years ago

aviramradai commented 3 years ago

Is there a way to give -Dplay.ws.ssl.loose.acceptAnyCertificate=true option to the docker? I am running cerebro on an ssh tunnel and I need ssl verify off.

Thanks

rlk5546 commented 3 years ago

open a shell in our cerebro container and add play.ws.ssl.loose.acceptAnyCertificate=true at the end of your conf/application.conf

aviramradai commented 3 years ago

Thanks I get it. I thought there is a way to do it without changing the container so I will be able to the updates you do.

gillg commented 3 years ago

You can just use docker run .... -Dplay.ws.ssl.loose.acceptAnyCertificate=true or in a dockerfile :

cerebro:
   container_name: cerebro
   image: ...
   command:
   - -Dplay.ws.ssl.loose.acceptAnyCertificate=true
Torvel commented 2 months ago

-Dplay.ws.ssl.loose.acceptAnyCertificate=true configuration didn't work for me. What finally did was: -Dcom.sun.net.ssl.checkRevocation=false