I have installed/updated the latest SAP Cloud Tools for Java on Eclipse. I was able to install the local Java Runtime from the neo-java-web-sdk-1.94.22 zip file. I created/compiled and executed the helloworld java servlet/app on the local Java Runtime server without any issues. I then went to create a new server instance using the SAP HANA Cloud Platform connecting to hanatrial.ondemand.com using my account name (p****trail), user name (p****) and password.
This failed with the message: Cannot reach host [https://hanatrial.ondemand.com]. Check host name for typing errors and make sure your proxy and network settings are correct.
In detail, the error message looks like this [snippet]:
2016-01-28 18:30:37,892 ERROR ModalContext com.sap.core.deploy.client.utils.DeployClientUtils - Host [https://hanatrial.ondemand.com] and alias [/] cannot be reached. Original error message is: SSL error when connecting to https://hanatrial.ondemand.com; server certificate might be invalid or untrusted
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
I think this error looks worse than it is! Has anyone encountered this server certificate issue before on the initial handshake? ( I haven't gotten as far as the specific account authentication). Your forthcoming advice will be well received!