Skip to Content
0

What are the Jars required to access the Netweaver 7.4 SSL enabled.

May 04, 2017 at 06:57 AM

133

avatar image
Former Member

What are the Jars required to access the Netweaver 7.4 SSL enabled.

I am from HP Sitescope team.

We are monitoring the SAP netweaver 7.4 SSL enabled one.

10 |10000 characters needed characters left characters exceeded

Hello Udaykumar,

could you please elaborate your scenario please for better understanding ?

Thanks and Regards,

Ervin

0
Former Member
Ervin Szolke

Thanks for quick reply.
We are trying to monitor the Netweaver 7.4 and SSL enabled .
We are using the java code to interact with Netweaver.
we are able to interact with netweaver 7.4 without SSL enabled using below jars.
sap.com~tc~bl~pj_jmx~Impl.jar
sap.com~tc~exception~impl.jar
sap.com~tc~je~clientlib~impl.jar
sap.com~tc~je~leanClient.jar
sap.com~tc~logging~java~impl.jar
sapjco3.jar
tc~bl~base~client.jar
tc~bl~deploy~client.jar

but we are not interact with SSL enabled netweaver 7.4.
do we need any extra jars required for SSL .

Properties connectionProperties = new Properties();
connectionProperties.setProperty(Context.INITIAL_CONTEXT_FACTORY , "com.sap.engine.services.jndi.InitialContextFactoryImpl");
connectionProperties.setProperty("TransportLayerQueue" , pTransport);
connectionProperties.setProperty(Context.PROVIDER_URL , pHost + ":" + pPort);
connectionProperties.setProperty(Context.SECURITY_PRINCIPAL , pUsername);
connectionProperties.setProperty(Context.SECURITY_CREDENTIALS , pPassword);
LOG.debug ("Call timeout for receiving connection: " + "45000 msec");
connectionProperties.setProperty("CallTimeout", "45000");

try{
LOG.debug("Trying to connect. This is the place where SAP libs are using");
mbsc = JmxConnectionFactory.getMBeanServerConnection(
JmxConnectionFactory.PROTOCOL_ENGINE_P4,
connectionProperties);
LOG.debug("Got the connection. toString=" + mbsc.toString());
LOG.debug("Got the connection. hashCode=" + mbsc.hashCode());

}
catch (Exception ex) {
LOG.debug("Error init JMX Connection (general exception): ", ex);
return (mbsc = null);
}

Please help me on this.

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member May 04, 2017 at 09:54 AM
0

HI Ervin ,


Thanks for quick reply.
We are trying to monitor the Netweaver 7.4 and SSL enabled .
We are using the java code to interact with Netweaver.
we are able to interact with netweaver 7.4 without SSL enabled using below jars.
sap.com~tc~bl~pj_jmx~Impl.jar
sap.com~tc~exception~impl.jar
sap.com~tc~je~clientlib~impl.jar
sap.com~tc~je~leanClient.jar
sap.com~tc~logging~java~impl.jar
sapjco3.jar
tc~bl~base~client.jar
tc~bl~deploy~client.jar

but we are not interact with SSL enabled netweaver 7.4.
do we need any extra jars required for SSL .

Properties connectionProperties = new Properties();
connectionProperties.setProperty(Context.INITIAL_CONTEXT_FACTORY , "com.sap.engine.services.jndi.InitialContextFactoryImpl");
connectionProperties.setProperty("TransportLayerQueue" , pTransport);
connectionProperties.setProperty(Context.PROVIDER_URL , pHost + ":" + pPort);
connectionProperties.setProperty(Context.SECURITY_PRINCIPAL , pUsername);
connectionProperties.setProperty(Context.SECURITY_CREDENTIALS , pPassword);
LOG.debug ("Call timeout for receiving connection: " + "45000 msec");
connectionProperties.setProperty("CallTimeout", "45000");

try{
LOG.debug("Trying to connect. This is the place where SAP libs are using");
mbsc = JmxConnectionFactory.getMBeanServerConnection(
JmxConnectionFactory.PROTOCOL_ENGINE_P4,
connectionProperties);
LOG.debug("Got the connection. toString=" + mbsc.toString());
LOG.debug("Got the connection. hashCode=" + mbsc.hashCode());

}
catch (Exception ex) {
LOG.debug("Error init JMX Connection (general exception): ", ex);
return (mbsc = null);
}

Please help me on this.

Share
10 |10000 characters needed characters left characters exceeded
Milen Dontcheff
Jul 06, 2017 at 10:13 AM
0

Yet, I am not quite certain how knowing the location of the SSL jar file will help you.

The default location of the SSLContext.properties is in the

\usr\sap\<SID>\<java-instance>\j2ee\cluster\bin\ext\mail-activation-iaik\iaik_ssl.jar

If it is necessary to change SSL/TLS you do need to create a separate custom SSLContext.properties. I would rather suggest you to make a copy of the existing one and change it manually.

These notes might come handy:

2284059 - Update of SSL library within NW Java server

2456800 - How to change the supported SSL/TLS version in PI/PO system

Share
10 |10000 characters needed characters left characters exceeded