[rabbitmq-discuss] SSL SHA256 issues

Michael Eklund mike.eklund at gmail.com
Fri Mar 28 01:08:43 GMT 2014


If I create certs following the example here<https://www.rabbitmq.com/ssl.html>with default_md = sha1, everything works fine. If I change it to default_md 
= sha256, it no longer works.  Not sure if this is a rabbitmq, or erlang 
issue, as I am new to both.

status is :

Status of node 'rabbit at hsv-testvm' ...
[{pid,24886},
 {running_applications,
     [{rabbitmq_stomp,"Embedded Rabbit Stomp Adapter","3.2.4"},
      {rabbitmq_management,"RabbitMQ Management Console","3.2.4"},
      {rabbitmq_management_agent,"RabbitMQ Management Agent","3.2.4"},
      {rabbit,"RabbitMQ","3.2.4"},
      {ssl,"Erlang/OTP SSL application","4.1.6"},
      {public_key,"Public key infrastructure","0.13"},
      {crypto,"CRYPTO version 2","2.0.4"},
      {asn1,"The Erlang ASN1 compiler version 1.6.18","1.6.18"},
      {os_mon,"CPO  CXC 138 46","2.2.7"},
      {rabbitmq_web_dispatch,"RabbitMQ Web Dispatcher","3.2.4"},
      {webmachine,"webmachine","1.10.3-rmq3.2.4-gite9359c7"},
      {mochiweb,"MochiMedia Web Server","2.7.0-rmq3.2.4-git680dba8"},
      {xmerl,"XML parser","1.2.10"},
      {inets,"INETS  CXC 138 49","5.7.1"},
      {mnesia,"MNESIA  CXC 138 12","4.5"},
      {amqp_client,"RabbitMQ AMQP Client","3.2.4"},
      {sasl,"SASL  CXC 138 11","2.1.10"},
      {stdlib,"ERTS  CXC 138 10","1.17.5"},
      {kernel,"ERTS  CXC 138 10","2.14.5"}]},
 {os,{unix,linux}},
 {erlang_version,
     "Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:4:4] [rq:4] 
[async-threads:30] [kernel-poll:true]\n"},
 {memory,
     [{total,36051240},
      {connection_procs,42160},
      {queue_procs,61832},
      {plugins,430896},
      {other_proc,9398000},
      {mnesia,77504},
      {mgmt_db,76504},
      {msg_index,34880},
      {other_ets,1175576},
      {binary,1351520},
      {code,19660284},
      {atom,1780369},
      {other_system,1961715}]},
 {vm_memory_high_watermark,0.4},
 {vm_memory_limit,5037924352},
 {disk_free_limit,50000000},
 {disk_free,8727261184},
 {file_descriptors,
    
 [{total_limit,924},{total_used,7},{sockets_limit,829},{sockets_used,5}]},
 {processes,[{limit,1048576},{used,242}]},
 {run_queue,0},
 {uptime,1094}]

config is:

% This file managed by Puppet
% Template Path: rabbitmq/templates/rabbitmq.config
[
  {rabbit, [

    {ssl_listeners, [5671]},
     {ssl_options, [{cacertfile,"/tmp/testca/cacert.pem"},
                    {certfile,"/tmp/server/cert.pem"},
                    {keyfile,"/tmp/server/key.pem"},
                    {verify,verify_none},
                    {fail_if_no_peer_cert,false}]},
    {default_user, <<"guest">>},
    {default_pass, <<"guest">>}
  ]},
  {kernel, [

  ]}
,
% Configure the Stomp Plugin listening port
  {rabbitmq_stomp, [
    {tcp_listeners, [61613]}
,
    {ssl_listeners, [61614]}
  ]}
].
% EOF

Any help would be gladly accepted.

Regards,

Mike E.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140327/f6e46408/attachment.html>


More information about the rabbitmq-discuss mailing list