Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aviramradai opened this issue Dec 3, 2020 · 4 comments
Open

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

aviramradai opened this issue Dec 3, 2020 · 4 comments

Comments

@aviramradai
Copy link

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
Copy link

rlk5546 commented Dec 9, 2020

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

@aviramradai
Copy link
Author

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
Copy link

gillg commented Aug 19, 2021

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
Copy link

Torvel commented Jun 4, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants