Symptom
You updated SSL Library as of SAP Note 2284059 and want to modify SSLContext.properties file (to set custom values).
Environment
SAP NetWeaver for AS Java 7.1X/7.2/7.3X/7.4/7.5 using SSL
Resolution
A) Get SSLContext.properties file that is present on your filesystem:
- Navigate to folder "usr/sap/
B) Modify SSLContext.properties file with the custom settings:
- Resolution part A) is not mandatory, because if you create an empty text file and copy it to the appropriate folder, the result will be the same.So create an empty SSLContext.properties file or open the file that you got in the resolution part A) with a text editor e.g. with Notepad++.Maintain the desired custom properties. Be informed that regarding Cipher suites, if no Cipher suite entry is present in the properties file, it means that default ones are used listed in SAP Note 2284059 "Cipher suites supported in the default configuration" part. If you want to use other Cipher suite configuration than default, see "Modify the list of supported cipher suites" part of SAP Note 2284059 and the KBA 2616983 with parameter cipherSuite=
To handle customize TLS versioning refer to the following KBA:
2284059 - Update of SSL library within NW Java server
C) Specify the path of SSLContext.properties file in Config Tool:
- Copy the customized SSLContext.properties file to a subfolder of the global folder "usrsap
Open Config Tool "usrsap
See formats: Name: "-Diaik.security.ssl.configFile"; Value: "file:/
The file name must be included in the value.
The same result can be reached if you maintain the parameter "iaik.security.ssl.configFile=file:/
Press OK. Now you should see the new additional parameter.Repeat for all instances.Save Config Tool.Restart the AS Java to validate the changes.
To add this parameter via NWA, do the following:
- Access NWA via http://
For additional information regarding JVM parameter changes, see KBA 1888685 "How to add new JVM parameters" part.
See Also
SAP Note: 2708581 - ECC Support for Outbound Connections in SAP NW AS Java
KBA: 2538934 - ECDHE cipher suites handshake failure
KBA: 2616423 - SSL does not work between PI and Remote System - SSLException: Peer sent alert: alert Fatal: handshake failure
Keywords
SSLContext.properties, SSL, sslcontext, cipher suite, cipher suites, TLS, Config tool, configtool, iaik, iaik.jar, ssllib, ssl library, -Diaik.security.ssl.configFile, Diaik.security.ssl.configFile, Java Cryptography Extension, JCE, JVM, Java virtual machine, client.minProtocolVersion, client.maxProtocolVersion, protocolVersions, cipherSuite, client.allowLegacyRenegotiation, allowLegacyRenegotiation, extension



