[
https://issues.apache.org/jira/browse/KARAF-4062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15328780#comment-15328780
]
Freeman Fang commented on KARAF-4062:
-------------------------------------
Hi JB,
After install the bcprov bundle
{code}
install -s mvn:org.bouncycastle/bcprov-jdk15on/1.52
{code}
, you need also refresh the sshd bundle to pick up the optional import package,
then you should be able to see the exception with bin/client.
I can just reproduce this with Karaf 4.0.2 kit.
Freeman
> Karaf client does now work after installing BouncyCastle
> --------------------------------------------------------
>
> Key: KARAF-4062
> URL: https://issues.apache.org/jira/browse/KARAF-4062
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 4.0.2
> Environment: OS X, Windows
> Reporter: Pavlo Vasylchenko
> Assignee: Freeman Fang
> Fix For: 2.4.4, 4.0.3, 3.0.6
>
>
> Karaf client throws:
> " Exception caught
> java.security.InvalidAlgorithmParameterException: Prime size must be multiple
> of 64, and can only ra
> nge from 512 to 2048 (inclusive)
> at
> com.sun.crypto.provider.DHKeyPairGenerator.initialize(DHKeyPairGenerator.java:120)"
> after installing mvn:org.bouncycastle/bcprov-jdk15on/1.52 into container
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)