activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From artnaseef <>
Subject Re: Is there anyway to set the brokers trustManager via configuration?
Date Mon, 03 Feb 2014 23:53:16 GMT
You can always set the default SSL trust store using the standard sun

As long as nothing else in the JVM sets them.  Note that changing those
properties is meaningless after the first use of an SSL socket factory, so
generally defining them on the JVM command-line is the best way to go.  Of
course, putting passwords on the command-line introduces the usual
security risk (that anyone with login access to the box may be able to
view the password).

Here are the properties:

* - path to the truststore
* - password for the truststore
* - path to the keystore
* - password for the keystore

> I know that as part of the ActiveMQSslConnectionFactory class you are able
> to
> set the trust manager though the function
> void setKeyAndTrustManagers(KeyManager[] km, TrustManager[] tm,
> SecureRandom
> random)
> Is there any way to do the same thing with some configuration for the
> broker
> itself?
> Thanks
> _______________________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> To start a new topic under ActiveMQ - User, email
> To unsubscribe from ActiveMQ - User, visit

View this message in context:
Sent from the ActiveMQ - User mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message