开发者

Use jsafeJCEFIPS.jar OSGi

Has anyone tried using jsafeJCEFIPS.jar OSGi? The jar is signed, I can't convert it to a bundle. I tried to embedded as jar in bundle, but it is always throws java.lang.SecurityException: "JsafeJCE provider is disabled, a FIPS 140 required self-integrity check failed" when I try to create a instance of JsafeJCE object.

It looks JsafeJCE can't check itself integrity(signature etc.)successfully. I 开发者_如何学JAVAprint out jsafeJCE.class.getProtectionDomain, it is (inputstream:bundle-name.jar ).

Any idea how to get jsafeJCE works in OSGi, I'm using Apache Felix.

Thanks in advance!


An ugly workaround is to add RSA jars in system class path and expose these packages thru org.osgi.framework.bootdelegation

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜