From 3a73be1bdfd082d23e9360b1648a5c76f78556e1 Mon Sep 17 00:00:00 2001 From: Guglielmo Nigri Date: Fri, 3 Feb 2017 17:38:40 +0100 Subject: [PATCH 1/2] Load BouncyCastle bundles early on --- downstream-parent/pom.xml | 2 +- karaf/features/src/main/feature/feature.xml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/downstream-parent/pom.xml b/downstream-parent/pom.xml index 56198e535c..b5a97a709a 100644 --- a/downstream-parent/pom.xml +++ b/downstream-parent/pom.xml @@ -169,7 +169,7 @@ org.apache.felix maven-bundle-plugin - 2.3.4 + 3.2.0 diff --git a/karaf/features/src/main/feature/feature.xml b/karaf/features/src/main/feature/feature.xml index 9c12a422cd..30b1050978 100644 --- a/karaf/features/src/main/feature/feature.xml +++ b/karaf/features/src/main/feature/feature.xml @@ -43,6 +43,9 @@ package service system + + mvn:org.bouncycastle/bcprov-ext-jdk15on/${bouncycastle.version} + mvn:org.bouncycastle/bcpkix-jdk15on/${bouncycastle.version} From 3a80b38f0512093d1b54696e3f1d887ae9b2e357 Mon Sep 17 00:00:00 2001 From: Guglielmo Nigri Date: Fri, 3 Feb 2017 18:01:28 +0100 Subject: [PATCH 2/2] remove unneeded config --- .../src/main/resources/etc/system.properties | 9 --------- 1 file changed, 9 deletions(-) diff --git a/karaf/apache-brooklyn/src/main/resources/etc/system.properties b/karaf/apache-brooklyn/src/main/resources/etc/system.properties index ffddfe3057..a95f167a4a 100644 --- a/karaf/apache-brooklyn/src/main/resources/etc/system.properties +++ b/karaf/apache-brooklyn/src/main/resources/etc/system.properties @@ -131,12 +131,3 @@ karaf.secured.services = (&(osgi.command.scope=*)(osgi.command.function=*)) # You can specify the location of the lock file using the # karaf.lock.dir=/path/to/the/directory/containing/the/lock # - -# -# Explicitly prevent Karaf's sshd from registering BouncyCastle -# to suppress misleading message in the log. -# -# TODO: We have BouncyCastle but it's an older version than the one org.apache.sshd -# requires (1.49 vs 1.51). Once we update our dependency version we should revisit this. -# -org.apache.sshd.registerBouncyCastle = false