activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "miclosoft@mail.ru" <miclos...@mail.ru>
Subject Configuring Transports HTTPS. WINDOWS 7
Date Fri, 11 Apr 2014 07:27:49 GMT
ActiveMQ.xml:
<sslContext>
            <sslContext
              keyStore="file:${activemq.base}/conf/broker.ks" 
              keyStorePassword="password" 
              trustStore="file:${activemq.base}/conf/broker.ts" 
              trustStorePassword="password"/>
        </sslContext>
...
  <transportConnector name="https"
uri="https://0.0.0.0:61620?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600"/>

Follow activeMQ manual + libraries:xpp3_min-**** .jar and xmpull-**** .jar

Add java code://For SSL
         Properties systemProps = System.getProperties();
    
  
  
    systemProps.put(
    "javax.net.ssl.trustStore",
    ".//broker.ts"
       );
    systemProps.put(
    "trustStorePassword",
    "password"
       );
    systemProps.put(
    "keyStorePassword",
    "password"
       );
   
 //   systemProps.put(
  //  "debug",
  //  "ssl"
  //     );
 
    systemProps.put(
    "keyStore",
    "./broker.ks"
       );
 
System.setProperties(systemProps);
//END FOR SSL

Place your *.ks *.ts in a classpath



--
View this message in context: http://activemq.2283324.n4.nabble.com/Configuring-Transports-HTTPS-WINDOWS-7-tp4680219.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message