cancel
Showing results for 
Search instead for 
Did you mean: 

Java EE HTTP Client. A strange error

0 Kudos

Hello, colleagues

I realized the connection to an external server with HTTPs from Java Mapping SAP PI.

As an example, using the code from the help sap: Get Request Using Basic Authentication Example - SAP NetWeaver Composition Environment Library - SAP...

However, at runtime error occurs:

java.net.SocketException: Default SSL context init failed: java.security.InvalidKeyException: PublicKey algorithm not implemented: ECPublicKey

Does anyone know the reason?

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

The error has not been resolved, but an alternative way was found:

View SecureConnectionFactory

Example:

String url = "https://google.com";

HttpURLConnection client = SecureConnectionFactory.getDefault().createURLConnection(String url);

Answers (0)