0

I installed the TFS plugin (http://java.visualstudio.com/) for Android Studio but I can not connect to the server. Any extra ideas? Thank you!

evidence image

enter image description here

Navneet Krishna
  • 5,009
  • 5
  • 25
  • 44
Andy
  • 751
  • 1
  • 12
  • 25

1 Answers1

0

This error can be interpreted to be the result of self-signed certificate. If the certificate in use is Self-signed or any other certificate that is private to the internal network.

Java doesn’t trust such certificates and for which, we can import the cert into the trust store and make it to work.

The link explains how the certificate import works in a Linux machine (which is also applicable for Windows).

the “keytool” is under “\bin\keytool.exe”, and

the “cacerts” trust store is under “\jre\lib\security\cacerts”.

should be the jre/jdk installation used by IntelliJ.

This should have resolved the above TFS connectivity failure.

Reference this article: Error: SSL certificate problem: unable to get local issuer certificate

And this thread: How to properly import a selfsigned certificate into Java keystore that is available to all Java applications by default?

Andy Li-MSFT
  • 28,712
  • 2
  • 33
  • 55