System Property for Accepting non-trusted certificates doesn't exist
g-kozinets opened this issue · comments
Hi, I have to launch ide robot in corporate environment with our own certificates, and each time I open Intellij Idea I see popups for accepting non-trusted certs. On my local copy of Idea I can fix this by turning on "Accept non-trusted certificates" checkbox in Idea's settings or by adding my Cacert file in Idea's jbr/lib/security folder.
My problem is that I don't see a way to use any of those approaches for Intellij Idea instance that is launched with Gradle. There is no systemProperty for this and I don't see how to edit runIde task, so that I could use some script to add my Cacert file in Idea's folder before it is launched.
If there is any other ways to accept non-trusted certificates without popups, I'm free to use them, I just don't know what else I can do.
Sorry If this question was answered before, I couldn't find anything similar to my issue.
Hi, I'd try to create OkHttpClient wich Trust All Certificates and pass it to RemoteRobot constructor. Can you try this?