[
{rabbit,
[
{tcp_listeners, [{"127.0.0.1", 5672}, {"::1", 5672}]},
{default_vhost, <<"/">>},
{default_user, <<"user">>},
{default_pass, <<"bitnami">>},
{default_permissions, [<<".*">>, <<".*">>, <<".*">>]},
{auth_mechanisms, ['PLAIN', 'AMQPLAIN', 'EXTERNAL']},
{ssl_listeners, [5671]},
{ssl_options, [{cacertfile, "/path/ca_certificate.pem"},
{certfile, "/path/server_certificate.pem"},
{keyfile, "/path/server_key.pem"},
{password,"xxx"},
{verify, verify_peer},
{fail_if_no_peer_cert, true}]},
{ssl_listeners, [5671]}
]
},
{kernel, []},
{rabbitmq_management,
[
{listener, [{port, 15672}, {ip, "0.0.0.0"}]}
]
},
{rabbitmq_shovel,
[
{shovels, []}
]
},
{rabbitmq_stomp, []},
{rabbitmq_mqtt, [{ssl_cert_login, true},{vhost, <<"/">>}, {allow_anonymous, false} , {ssl_listeners, [8883]}, {tcp_listeners, [1883]}]},
{rabbitmq_amqp1_0, []},
{rabbitmq_auth_backend_ldap, []},
{rabbit, [{vm_memory_high_watermark, 0.6}]
}].
TLS server: In state certify at ssl_handshake.erl:1624 generated SERVER ALERT: Fatal - Unknown CA
openssl s_client -connect localhost:5671 -cert client/cert.pem -key client/key.pem -CAfile testca/cacert.pem
[info] <0.6448.0> accepting AMQP connection <0.6448.0> (127.0.0.1:56196 -> 127.0.0.1:5671) 2018-10-02 07:05:56.161 [warning] <0.6448.0> closing AMQP connection <0.6448.0> (127.0.0.1:56196 -> 127.0.0.1:5671): {handshake_timeout,handshake}
How should I fix this problem?
BR,
Melanka
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
2018-10-04 04:05:04.741 [info] <0.280.0> Starting rabbit_node_monitor
2018-10-04 04:05:04.788 [info] <0.246.0> Management plugin: using rates mode 'basic'
2018-10-04 04:05:04.789 [info] <0.306.0> Making sure data directory '/opt/bitnami/rabbitmq/var/lib/rabbitmq/mnesia/rabbitmq@localhost/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L' for vhost '/' exists
2018-10-04 04:05:04.798 [info] <0.306.0> Starting message stores for vhost '/'
2018-10-04 04:05:04.799 [info] <0.310.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_transient": using rabbit_msg_store_ets_index to provide index
2018-10-04 04:05:04.801 [info] <0.306.0> Started message store of type transient for vhost '/'
2018-10-04 04:05:04.802 [info] <0.313.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent": using rabbit_msg_store_ets_index to provide index
2018-10-04 04:05:04.806 [info] <0.306.0> Started message store of type persistent for vhost '/'
2018-10-04 04:05:04.885 [info] <0.494.0> started TCP Listener on [::]:5672
2018-10-04 04:05:04.889 [info] <0.510.0> started SSL Listener on [::]:5671
2018-10-04 04:05:04.890 [info] <0.246.0> Setting up a table for connection tracking on this node: tracked_connection_on_node_rabbitmq@localhost
2018-10-04 04:05:04.890 [info] <0.246.0> Setting up a table for per-vhost connection counting on this node: tracked_connection_per_vhost_on_node_rabbitmq@localhost
2018-10-04 04:05:04.891 [info] <0.33.0> Application rabbit started on node rabbitmq@localhost
2018-10-04 04:05:04.892 [info] <0.33.0> Application amqp_client started on node rabbitmq@localhost
2018-10-04 04:05:04.893 [info] <0.523.0> MQTT retained message store: rabbit_mqtt_retained_msg_store_dets
2018-10-04 04:05:04.895 [info] <0.541.0> started MQTT TCP Listener on [::]:1883
2018-10-04 04:05:04.898 [info] <0.548.0> started MQTT SSL Listener on [::]:8883
2018-10-04 04:05:04.898 [info] <0.33.0> Application rabbitmq_mqtt started on node rabbitmq@localhost
2018-10-04 04:05:04.899 [info] <0.33.0> Application rabbitmq_auth_mechanism_ssl started on node rabbitmq@localhost
2018-10-04 04:05:04.903 [info] <0.33.0> Application rabbitmq_management_agent started on node rabbitmq@localhost
2018-10-04 04:05:04.904 [info] <0.33.0> Application cowlib started on node rabbitmq@localhost
2018-10-04 04:05:04.904 [info] <0.33.0> Application cowboy started on node rabbitmq@localhost
2018-10-04 04:05:04.904 [info] <0.33.0> Application rabbitmq_web_dispatch started on node rabbitmq@localhost
2018-10-04 04:05:04.954 [info] <0.606.0> Management plugin started. Port: 15672
2018-10-04 04:05:04.955 [info] <0.712.0> Statistics database started.
2018-10-04 04:05:04.956 [info] <0.33.0> Application rabbitmq_management started on node rabbitmq@localhost
2018-10-04 04:05:04.956 [notice] <0.86.0> Changed loghwm of /opt/bitnami/rabbitmq/var/log/rabbitmq/rabb...@localhost.log to 50
2018-10-04 04:05:05.192 [info] <0.5.0> Server startup complete; 5 plugins started.
* rabbitmq_management
* rabbitmq_web_dispatch
* rabbitmq_management_agent
* rabbitmq_auth_mechanism_ssl
* rabbitmq_mqtt
mosquitto_pub -h xx.xx.xx.17 -d -u xxx -P xxx --cafile /opt/bitnami/rabbitmq/tls/ca_certificate.pem --cert /opt/bitnami/rabbitmq/tls/client_certificate.pem --key /opt/bitnami/rabbitmq/tls/client_key.pem -p 8883 -m "test" -t data
Client mosqpub/14569-rabbitmq- sending CONNECT Error: A TLS error occurred.
2018-10-04 04:10:36.530 [info] <0.1734.0> TLS server: In state certify received CLIENT ALERT: Fatal - Internal Error
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.