activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johnluo1 <johnl...@gmail.com>
Subject hiding ssl store passwords
Date Thu, 17 Jun 2010 21:39:19 GMT

Hi,

I want to use SSL for my transportConnector. But I don't want the passwords
to be either stored in activemq.xml or show up in command line.

1.) If I specify like following, password will be stored as clear text in
activem.xml
             <sslContext>
                <sslContext 
                keyStore="broker.ks" keyStorePassword="password"
                trustStore="client.ts" trustStorePassword="password"/>
            </sslContext>

2.)  If I use SSL_OPTS like following, and if I do a "ps -aef |grep
activemq", I will see the passwords in command line. 

export SSL_OPTS="-Djavax.net.ssl.keyStore=broker.ks
-Djavax.net.ssl.keyStorePassword=password
-Djavax.net.ssl.trustStore=client.ts
-Djavax.net.ssl.trustStorePassword=password"

I have a standalone utility for getting the passwords. What would be the
easiest way to achieve my goal?

Thanks in advance!!
John


-- 
View this message in context: http://old.nabble.com/hiding-ssl-store-passwords-tp28919978p28919978.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message