My Oracle Support Banner

ODSEE 11.1.1.7 - Not Able To Run 'dsconf' command - Java Error "Exception in thread "main" java.lang.ExceptionInInitializerError at javax.crypto.JceSecurityManager.(JceSecurityManager.java:65)" (Doc ID 2680366.1)

Last updated on APRIL 18, 2022

Applies to:

Oracle Directory Server Enterprise Edition - Version 11.1.1.7.190716 and later
Information in this document applies to any platform.

Symptoms

When trying to run dsconf getting the following error -

sudo ODSEE_INSTALL_ROOT/dsee7/bin/dsconf list-repl-agmts -v
Exception in thread "main" java.lang.ExceptionInInitializerError
at javax.crypto.JceSecurityManager.(JceSecurityManager.java:65)
at javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2590)
at javax.crypto.Cipher.getMaxAllowedKeyLength(Cipher.java:2614)
at sun.security.ssl.CipherSuite$BulkCipher.isUnlimited(CipherSuite.java:535)
at sun.security.ssl.CipherSuite$BulkCipher.(CipherSuite.java:507)
at sun.security.ssl.CipherSuite.(CipherSuite.java:614)
at sun.security.ssl.SSLContextImpl.getApplicableSupportedCipherSuiteList(SSLContextImpl.java:294)
at sun.security.ssl.SSLContextImpl.access$100(SSLContextImpl.java:42)
at sun.security.ssl.SSLContextImpl$AbstractTLSContext.(SSLContextImpl.java:529)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.security.Provider$Service.getImplClass(Provider.java:1631)
at java.security.Provider$Service.newInstance(Provider.java:1589)
at sun.security.jca.GetInstance.getInstance(GetInstance.java:236)
at sun.security.jca.GetInstance.getInstance(GetInstance.java:164)
at javax.net.ssl.SSLContext.getInstance(SSLContext.java:156)
at com.sun.directory.common.LDAPSSLSocketFactory.(LDAPSSLSocketFactory.java:50)
at com.sun.directory.common.LDAPConnectionCenter.buildSSLSocketFactory(LDAPConnectionCenter.java:74)
at com.sun.directory.common.LDAPConnectionCenter.getLdapConnection(LDAPConnectionCenter.java:190)
at com.sun.directory.common_cfg.LDAPClientClipSubcommand.getLdapConnection(LDAPClientClipSubcommand.java:1090)
at com.sun.directory.common_cfg.LDAPClientClipSubcommand.performLdapConnection(LDAPClientClipSubcommand.java:733)
at com.sun.directory.slapy.cli.CmdSlapy.performLdapContext(CmdSlapy.java:204)
at com.sun.directory.slapy.cli.CmdSlapy.perform(CmdSlapy.java:259)
at com.sun.directory.clip.ClipSubcommand.execute(ClipSubcomma
...
Caused by: java.lang.SecurityException: The jurisdiction policy files are not signed by the expected signer! (Policy files are specific per major JDK release.Ensure the correct version is installed


Due to this issue, can not run 'dsconf' command but able to run dsconf with the -e option successfully.

Changes

Upgraded JDK version

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.