[ 
https://issues.apache.org/jira/browse/KARAF-4062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15327515#comment-15327515
 ] 

Jean-Baptiste Onofré commented on KARAF-4062:
---------------------------------------------

[~ffang] are you sure about your change ? I tried to revert the change to use 
{{client = SshClient.setUpDefaultClient()}} and it works fine with or without 
BouncyCastle. I did:
1. copying bgprov and bgprov-ext into {{lib/ext}}, updating 
{{etc/config.properties}} to add {{org.apache.karaf.security.providers}} and 
update {{bootdelegation}}. It works fine.
2. just install bgprov SMX bundle. It works fine as well.

So, I'm not able to reproduce the original issue.

> 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)

Reply via email to