Reputation: 171
I installed SSL certificate for Jira to Java via keytool. Actually i am using playframework 2 for development and if I use play terminal to compile and run project, everything is fine. The problem appears when I want to use debugger from IntelliJ idea. Project in IDE has set same java as SDK in project setting, but it has not accept the installed certificate. Can somebody help with this?
Upvotes: 14
Views: 39508
Reputation: 9
Go to File->Settings>Tools>Server Certificates. In the IDE Settings section select Server Certificates
Myself I just selected the Accept Automatically check box, hit Apply and never had to deal with it. If you are worried about security, there is also the option to add them 1 at a time as they come up.
In my case I did this because I already had a *.google.com certificate configured as accepted, but I still got the popup. I suspect that the fingerprint changed and if I would have deleted and then accepted the error would have gone away, but I decided to just make it go away by selecting the check box.
Upvotes: 0
Reputation: 2227
For Mac:
Preferences > Tools > Server Certificates then Accept non-trusted Certificates Automatically
Upvotes: 4
Reputation: 2768
I terms of adding certificate IntelliJ IDEA -> Preferences -> Tools -> Server Certificates -> Accepted Certificates -> Add (+)
Upvotes: 2
Reputation: 1531
Go to File -> Settings -> Tools -> Server Certificates , and check the box "Accept non-trusted Certificates Automatically". That might solve your problem. Also check your jdk version. I had to change to 1.8.0_192 on my Intellij.
Upvotes: -4