Note that there are some explanatory texts on larger screens.

plurals
  1. POSSL using RSAL Toolkit not encapsulated by a jar Error
    primarykey
    data
    text
    <p>I'm running a 3rd party app which fails with the following stacktrace when trying to create a SSL connection to a server:</p> <p>The root exception is this:</p> <pre><code>Caused by: java.lang.SecurityException: Toolkit not encapsulated by a jar. at com.rsa.jcm.f.hq.a(Unknown Source) at com.rsa.jcm.f.jg.b(Unknown Source) at com.rsa.crypto.jcm.ModuleLoader.a(Unknown Source) at com.rsa.crypto.jcm.ModuleLoader.load(Unknown Source) ... 43 more </code></pre> <p>Has anyone seen this occur when connecting over SSL that uses RSA? I've worked the google and there isn't anything obvious as to why this would happen. </p> <p>This particular error happens on a Mac, and I've got a windows version of the same app which works correctly. Main difference being they bundle the JRE in the windows version, so I checked various security policies etc but there are no great differences in the JRE on windows vs the JRE on my mac. </p> <p>The full stacktrace looks like this:</p> <pre><code>Caused by: java.lang.Error: Problem loading module. at com.rsa.cryptoj.o.ju.g(Unknown Source) at com.rsa.cryptoj.o.ju.c(Unknown Source) at com.rsa.cryptoj.o.gd.a(Unknown Source) at com.rsa.cryptoj.o.dm.b(Unknown Source) at com.rsa.cryptoj.o.dm.&lt;clinit&gt;(Unknown Source) at com.rsa.cryptoj.o.me.newInstance(Unknown Source) at javax.crypto.Cipher.chooseProvider(Cipher.java:845) at javax.crypto.Cipher.init(Cipher.java:1348) at sun.security.ssl.CipherBox.&lt;init&gt;(CipherBox.java:175) at sun.security.ssl.CipherBox.newCipherBox(CipherBox.java:208) at sun.security.ssl.CipherSuite$BulkCipher.newCipher(CipherSuite.java:467) at sun.security.ssl.CipherSuite$BulkCipher.isAvailable(CipherSuite.java:507) at sun.security.ssl.CipherSuite$BulkCipher.isAvailable(CipherSuite.java:485) at sun.security.ssl.CipherSuite.isAvailable(CipherSuite.java:190) at sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList(SSLContextImpl.java:342) at sun.security.ssl.SSLContextImpl.getDefaultCipherSuiteList(SSLContextImpl.java:300) at sun.security.ssl.SSLSocketImpl.init(SSLSocketImpl.java:576) at sun.security.ssl.SSLSocketImpl.&lt;init&gt;(SSLSocketImpl.java:512) at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:73) at com.somevendor.client.common.spring.remoting.http.e.createSocket(Unknown Source) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at com.somevendor.client.common.spring.remoting.http.SecureHttpInvokerRequestExecutor.executePostMethod(Unknown Source) at org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor.doExecuteRequest(CommonsHttpInvokerRequestExecutor.java:140) at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:136) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:192) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:174) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:142) ... 7 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) ... 39 more Caused by: java.lang.SecurityException: Toolkit not encapsulated by a jar. at com.rsa.jcm.f.hq.a(Unknown Source) at com.rsa.jcm.f.jg.b(Unknown Source) at com.rsa.crypto.jcm.ModuleLoader.a(Unknown Source) at com.rsa.crypto.jcm.ModuleLoader.load(Unknown Source) ... 43 more </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload