SSLException Accessing OID Using JNDI/ JDK 1.7 - javax.net.ssl.SSLException: Received fatal alert: illegal_parameter
(Doc ID 1605997.1)
Last updated on APRIL 22, 2021
Applies to:
Oracle Internet Directory - Version 10.1.2.0.2 to 11.1.1.7.0 [Release 10gR2 to 11g]Information in this document applies to any platform.
Goal
When trying to access Oracle Internet Directory (OID) SSL port using JNDI, the following error occurs if using JDK 1.7. It does not happen under JDK 1.6.
javax.naming.CommunicationException: simple bind failed: <HOSTNAME>:636 [Root exception is
javax.net.ssl.SSLException: Received fatal alert: illegal_parameter]
at com.sun.jndi.ldap.LdapClient.authenticate(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
...
at javax.naming.directory.InitialDirContext.(Unknown Source)
at NecDirectoryApi.srchHadditionalPostCd(NecDirectoryApi.java:157)
at SrchTest.main(SrchTest.java:161)
Caused by: javax.net.ssl.SSLException: Received fatal alert: illegal_parameter
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |