[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Alternatives to OpenSSL for ActiveMQ

Posted on 2014-04-13
9
Medium Priority
?
446 Views
Last Modified: 2014-04-15
Can we use another SSL package other than OpenSSL.  

If so, is OpenSSL the default
0
Comment
Question by:Anthony Lucia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 62

Accepted Solution

by:
gheist earned 2000 total points
ID: 39998711
OpenSSL is not used by java application servers.
Please detail on what server software concerns you... (Press request attention and use form there so that moderators can re-shuffle topic areas)
If you are worried about heartbleed - just upgrade, confirm that vuln is addressed  and regenerate your ssl keys (your CA knows and will help)
0
 
LVL 62

Expert Comment

by:gheist
ID: 39999568
ActiveMQ uses jetty servlet engine, which, unlike tomcat has no chance of loading openssl libraries ever (and even on tomcat loading native SSL library is something between rocket science and eating swords)
0
 

Author Comment

by:Anthony Lucia
ID: 39999773
That seems good.

Where does ActiveMQ get their SSL from, what package
0
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 

Author Comment

by:Anthony Lucia
ID: 39999784
This page:

https://activemq.apache.org/cms/openssl-support.html

seems to suggest you can use Openssl

Is Openssl an optional package ?
0
 
LVL 62

Expert Comment

by:gheist
ID: 39999923
JCE/JCA (the toolkit included in java)
If it is too slow you can try bouncycastle ssl (one that android uses) before jumping on native openssl but otherwise you are safe if you patched java in last 2 montsh for non-crypto issues.

OpenSSL is used by 2/3 of all websites in the world. Now it is safe, you can install CPP module after you patch OpenSSL to speed up encryption (though bouncycastle may be faster in some settings, or at least cleaner by not calling JNI)
run "openssl version" - if it says anything else than 1.0.1 you might have happily jumped past the problems.

OpenSSL is not used by java, there is optional library that enables your java server to use it. As much as java is concerned presence of openssl or any other native SSL toolkit (like NSS or gnutls, which had their drop dead bugs in recent months, but no publicity because they are not used by high profile sites ever) is irrelevant.

e.g OpenSSH is omnipresent in UNIX etc, it uses openssl, but in mode that does not pass the code path of vulnerable extension.

What system you run your java on?
0
 

Author Comment

by:Anthony Lucia
ID: 40000354
Trying to run ActiveMQ on Linux.

What version of SSL will that configuration use

and why does this page say that OpenSSL is an option

https://activemq.apache.org/cms/openssl-support.html

Thanks
0
 
LVL 62

Expert Comment

by:gheist
ID: 40000478
Because it is an option, not a standard feature....

cat /proc/PID/maps

and see yourself if libcrypto.so.* is loaded or not.
0
 

Author Comment

by:Anthony Lucia
ID: 40001531
I did the following

root@clnt1 apache-activemq-5.9.0]# ls
activemq-all-5.9.0.jar  data      lib      README.txt  webapps-demo
bin                     docs      LICENSE  tmp
conf                    examples  NOTICE   webapps
[root@clnt1 apache-activemq-5.9.0]#
[root@clnt1 apache-activemq-5.9.0]#
[root@clnt1 apache-activemq-5.9.0]# cat /proc/PID/maps
cat: /proc/PID/maps: No such file or directory
[root@clnt1 apache-activemq-5.9.0]#

Open in new window



What is the default SSL on ActiveMQ ?
Thanks
0
 
LVL 62

Expert Comment

by:gheist
ID: 40002290
PID should be numeric process ID of your application server.
What openssl version is installed on your system?

Please refer to first word in previous answer
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question