Github user aledsage commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/465#discussion_r23523565
--- Diff: core/src/main/java/brooklyn/util/crypto/FluentKeySigner.java ---
@@ -42,7 +44,9 @@
* X509v3CertificateBuilder drags in an add'l dependency (bcmail) and is
harder to use. */
@SuppressWarnings("deprecation")
public class FluentKeySigner {
-
+
+ static { Security.addProvider(new BouncyCastleProvider()); }
--- End diff --
Sounds sensible, I think. Is there anything beyond bouncy castle currently
that we'd want to include in a `BrooklynInitialization`? If it's just bouncy
castle, then maybe we live with code as-is for now, with an appropriate comment
somewhere (e.g. `LocalManagementContext` or the `Main` class?) about this
initialization.
I presume that would be at the level of the `ManagementContext` so wouldn't
know about initializing web-apps etc?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---