[rabbitmq-discuss] Configure RabbitMQ 3.2.2. with SSL on windows7

Simon MacMullen simon at rabbitmq.com
Mon Jan 13 12:17:43 GMT 2014

Please keep rabbitmq-discuss on CC, that way other people can benefit 
from the answer to your question.

As I said, you don't need to install OpenSSL to make it available to Erlang.

It appears that your problem is really in generating certificates. Note 
that you don't have to generate certificates using OpenSSL if you find 
it hard to use, the examples given at http://www.rabbitmq.com/ssl.html 
are... examples.

It looks like you have a problem with your PATH - you will need to 
update it to include the directory containing the openssl binaries.

Cheers, Simon

On 10/01/2014 19:08, EAI Inegration wrote:
> Thank Simon for your reply
> Yes ,I am using standard edition of Erlang.
> I see ssl folder under erlnag folder as well.
> I am following steps from RabbitMQ documentation
> (http://www.rabbitmq.com/ssl.html)
> The documet says crypto and openSSL should be installed.
> In latest version of Erlang ,i.e. 16b03, I see crypto folder under
> erlang installation folder which made me believe that crypto comes by
> default with latest version of Erlang.
> So I opened Erlang command shell and typed Crypto.Start() and got
> response Ok.So I assume that Crypto part is taken care of .
> Then I installed cygWin along with MinGW's 64bit GCC as I am using 64bit
> windows
> Opened bash shell for cygwin
> and entered following commands and created .cnf file under testca directory.
> # mkdir testca
> # cd testca
> # mkdir certs private
> # chmod 700 private
> # echo 01 > serial
> # touch index.txt
> I see SSL folder under Erlang's installation folder,so i have not taken
> any steps to install or configure it explicitly.
> Next, when I executed following , I get error 'OpenSSL' is not valid
> bash shell command .
> # openssl req -x509 -config openssl.cnf -newkey rsa:2048 -days 365 \
>      -out cacert.pem -outform PEM -subj /CN=MyTestCA/ -nodes
> # openssl x509 -in cacert.pem -out cacert.cer -outform DER
> I want to create certificates as per this article and test them.
> I was very impressed with the performance and ease of configuration of
> rabbitMQ until I started SSL config on windows :(
> If this does not work , we might have to go for other bus/broker
> application :(
> Thanks in advance for your help
> On Fri, Jan 10, 2014 at 12:12 PM, Simon MacMullen <simon at rabbitmq.com
> <mailto:simon at rabbitmq.com>> wrote:
>     If you are using a standard installation of Erlang (which you really
>     should be) then it should include an appropriate build of OpenSSL.
>     You shouldn't need to do anything.
>     Cheers, Simon
>     On 10/01/2014 16:14, EAI Inegration wrote:
>         Hi ,
>         I have installed Erlang's latest version i.e. E16b03.
>         I am using 64 bit windows 7 for rabbitMQ evaluation.I have installed
>         cygwin with MinGW 'GCC
>         I am following the link http://www.rabbitmq.com/ssl.__html
>         <http://www.rabbitmq.com/ssl.html> to configure
>         rabbitMQ with SSL.
>         I need to not configured  OpenSSL with current version of erlang
>         on my
>         machine.
>         I have  downloaded latest  openssl1.0.01.tar.gz on my machine
>         But I am not able to understand how do i configure Erlang with
>         this openssl
>         If anyone could give me step by step instructions,it would be great
>         Thanks in advance
>         _________________________________________________
>         rabbitmq-discuss mailing list
>         rabbitmq-discuss at lists.__rabbitmq.com
>         <mailto:rabbitmq-discuss at lists.rabbitmq.com>
>         https://lists.rabbitmq.com/__cgi-bin/mailman/listinfo/__rabbitmq-discuss
>         <https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss>

More information about the rabbitmq-discuss mailing list