IDEA 14 & Cloud Foundry Deployment => Server Auth Problem

Hello community,

by adding a Cloud Foundry Server (private Cloud) i've got this Error:

Connot connect: org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://[my-api-endpoint]/info":peer not authenticated; nested exception is javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

I've found something like this about my Error: https://github.com/cloudfoundry/cf-java-client/tree/master/cloudfoundry-maven-plugin
Some Cloud Foundry deployments, such as those deployed using Pivotal CF,  use a self-signed certificate for SSL connectivity. If you attempt to  target a Cloud Foundry service that is using self-signed certificates,  you may get an error containing the text

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
.

But I have checked Trust self-signed certificates. See attached File!


I would be grateful for your help!

vladi

Attachment(s):
Selection_001.png
1 comment
Comment actions Permalink

Hello,

Here is an answer from the pivotal team:

<quote>
There are no known issues around the

trustSelfSignedCerts
functionality in the library.
The checks performed when
trustSelfSignedCerts
is enabled are pretty strict.
See https://github.com/cloudfoundry/cf-java-client/issues/170#issuecomment-44349875 for more details on the checks that are performed.
Can you verify that the self-signed certs you are using meet those requirements?
</quote>

Please let us know, whether it helps, if not we will try to check an integration code with them.

You may join discussion with pivotal team at https://github.com/cloudfoundry/cf-java-client/issues/252

Regards,
Michael
0

Please sign in to leave a comment.