On 07/25/2019 09:00 AM, Gordon Sim wrote:
On 25/07/2019 7:06 am, Jose Alberto Fernandez Parejo wrote:
If the ssl_cert_name is pass in the options,

# client amqp:ssl:127.0.0.1:5671
{protocol:amqp1.0,ssl_cert_name:127.0.0.1}


terminate called after throwing an instance of
'qpid::messaging::InvalidOptionString'
   what():  Invalid option string: protocol:amqp1.0

Are you passing that in as a command line argument? If so you need to
quote it:

  '{protocol:amqp1.0,ssl_cert_name:127.0.0.1}'

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

.


Now with quotes, note that traces are enable:


# client amqp:ssl:127.0.0.1:5671
'{protocol:amqp1.0,ssl_cert_name:127.0.0.1}'
2019-07-25 11:11:04 [Unspecified] debug Config file not read:
/local/users/jafparejo/Downloads/qpid/etc/qpid/qpidc.conf
2019-07-25 11:11:04 [Unspecified] debug Config file not read:
/local/users/jafparejo/Downloads/qpid/etc/qpid/qpidc.conf
2019-07-25 11:11:04 [Messaging] debug Protocol defaults:
2019-07-25 11:11:04 [Unspecified] debug Config file not read:
/local/users/jafparejo/Downloads/qpid/etc/qpid/qpidc.conf
2019-07-25 11:11:04 [Unspecified] debug Config file not read:
/local/users/jafparejo/Downloads/qpid/etc/qpid/qpidc.conf
2019-07-25 11:11:04 [Messaging] debug Trying versions amqp1.0
2019-07-25 11:11:04 [Messaging] debug Driver started
2019-07-25 11:11:04 [Messaging] info Starting connection to
amqp:ssl:127.0.0.1:5671
2019-07-25 11:11:04 [Messaging] info Connecting to ssl:127.0.0.1:5671
2019-07-25 11:11:04 [Unspecified] debug Config file not read:
/local/users/jafparejo/Downloads/qpid/etc/qpid/qpidc.conf
2019-07-25 11:11:04 [Unspecified] debug Config file not read:
/local/users/jafparejo/Downloads/qpid/etc/qpid/qpidc.conf
2019-07-25 11:11:04 [Client] debug Set TCP_NODELAY
2019-07-25 11:11:04 [Security] debug ssl-cert-name = 127.0.0.1
2019-07-25 11:11:04 [Messaging] debug ssl:127.0.0.1:5671 Connecting ...
2019-07-25 11:11:04 [System] info Connecting: 127.0.0.1:5671
2019-07-25 11:11:04 [System] debug Exception constructed: Failed: NSS
error [-8172]
(/local/users/jafparejo/Downloads/qpid-cpp-master-1.41/src/qpid/sys/ssl/SslSocket.cpp:205)
2019-07-25 11:11:04 [Security] debug Failed to connect: Failed: NSS
error [-8172]
(/local/users/jafparejo/Downloads/qpid-cpp-master-1.41/src/qpid/sys/ssl/SslSocket.cpp:205)
Connect failed to amqp:ssl:127.0.0.1:5671: Reconnect disabled
2019-07-25 11:11:04 [Messaging] debug Driver stopped


________________________________

Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, 
contiene información de carácter confidencial exclusivamente dirigida a su 
destinatario o destinatarios. Si no es vd. el destinatario indicado, queda 
notificado que la lectura, utilización, divulgación y/o copia sin autorización 
está prohibida en virtud de la legislación vigente. En el caso de haber 
recibido este correo electrónico por error, se ruega notificar inmediatamente 
esta circunstancia mediante reenvío a la dirección electrónica del remitente.
Evite imprimir este mensaje si no es estrictamente necesario.

This email and any file attached to it (when applicable) contain(s) 
confidential information that is exclusively addressed to its recipient(s). If 
you are not the indicated recipient, you are informed that reading, using, 
disseminating and/or copying it without authorisation is forbidden in 
accordance with the legislation in effect. If you have received this email by 
mistake, please immediately notify the sender of the situation by resending it 
to their email address.
Avoid printing this message if it is not absolutely necessary.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to