JetBrains / intellij-ui-test-robot

The library allows you to write and execute UI tests among IntelliJ IDEA. You can test your Plugin.

Home Page:https://jetbrains-platform.slack.com/archives/C026SVA9MMM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?