cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

java.io.IOException: java.net.SocketException: Connection reset

6,443

Hi Experts,

I am facing the java.io.IOException: java.net.SocketException: Connection reset error in production. scenario is Proxy to Rest (synchronous). We have reimported the SSL certificates in Production system. After importing we are facing this error. Please help on this.

regards,

nagaraju

View Entire Topic
Harish
Active Contributor
0 Likes

Hi Nagaraju,

Please check if the IP is changed from the target server. You can also ask the basis team to perform the check (Curl request) from the server to the target.

regards,

Harish

Hi Harish,

Issue resolved. My Basis person resolved the issue. These are the steps implemented.

Create a SSLContext.porperties files with reference to the note 2569156 - How to create, modify and validate SSLContext.properties file

Create a folder /tmp/SSLCONTEXT and place the file "SSLContext.properties".

Add the parameter in Additional VM Parameters parameter name: -Diaik.security.ssl.configFile value: file:/tmp/SSLCONTEXT/SSLContext.properties.

Change the parameter "crypto.policy = unlimited policy" in java.security p

path : /sapmnt/UEP/exe/jvm/linuxx86_64/sapjvm_8.1.075/sapjvm_8/jre/lib/security

Reference note: 2881916 - Unable to encrypt SSL message: java.security.InvalidKeyException: Illegal key size

Restart the SAP PO.

Below are the Sap Note Reference:

2881916 - Unable to encrypt SSL message: java.security.InvalidKeyException: Illegal key size.

3007243 - Error retrieving certificates after changing SSLContext.properties file

2708581 - ECC Support for Outbound Connections in SAP NW AS Java

2284059 - Update of SSL library within NW Java server

Thanks Harish for given valuable information to us.

Thank you Metin for your response.

Regards,

nagaraju

shravan_pishike
Explorer
0 Likes

Hi Harish, I'm trying to connect to a on-premise system from my SAP CAP Java application. A cloud connector has been created and a destination has been created with the virtual host and credentials. But I get the below error

java.net.SocketException: Connection reset

I checked the destination and cloud connector configuration with the basis team but not sure what is the issue.