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

System Property for Accepting non-trusted certificates doesn't exist #388

Open
g-kozinets opened this issue Dec 28, 2023 · 1 comment
Open

Comments

@g-kozinets
Copy link

g-kozinets commented Dec 28, 2023

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.

@g-kozinets g-kozinets changed the title System Parameter for Accepting non-trusted certificates doesn't exist System Property for Accepting non-trusted certificates doesn't exist Dec 28, 2023
@nizienko
Copy link
Collaborator

Hi, I'd try to create OkHttpClient wich Trust All Certificates and pass it to RemoteRobot constructor. Can you try this?

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

2 participants