Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Sending message via AMQP using qpid-proton-c fails with error SSL Failure: Unknown error

$
0
0

Hi,

I am trying to get the sender example from the azure-service-bus-sample working on Linux based system (https://github.com/genieplus/azure-service-bus-samples/blob/master/proton-c-queues-and-topics/sender.c). However, when I try to execute it, it always fails with the following traces:

    Sending messages to amqps://testRule:***@MY_DOMAIN/ServiceBusDefaultNamespace/q1
    CALL pn_messenger_set_outgoing_window... RETURNED 0
    CALL pn_messenger_set_blocking... RETURNED 0
    CALL pn_messenger_start... RETURNED 0
    CALL pn_messenger_put... RETURNED 0
    CALL pn_messenger_send... recv: Connection reset by peer
    [0x1449a80]:ERROR amqp:connection:framing-error SSL Failure: Unknown error.
    CONNECTION ERROR connection aborted (remote)
    RETURNED 0


I tried to add the auto generated certificate as a trusted certificate via

    pn_messenger_set_trusted_certificates (messenger, "/ca/trusted/);

I got a different error message:

    Sent BytesMessage with id
    c99a2261-843e-4ebf-846c8fe799e8fc0b
    Message status PN_STATUS_ABORTED
    Final send status is: failed, never sent on network
    CALL pn_messenger_settle... RETURNED 0
    CALL pn_messenger_put... RETURNED 0
    CALL pn_messenger_send... [0x18aaad0]:ERROR amqp:connection:framing-error SSL Failure: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
    RETURNED 0


Any idea how can I fix this SSL error?


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>