Hi Hamid, Sorry, I've only used Qpid+SSL on Linux so far - there the SSL cert details are specified via environment variables, but not on Windows.
Have a read of this thread - http://apache-qpid-users.2158936.n2.nabble.com/SSL-and-C-client-anyone-have-a-complete-example-td4030718.html (search the text for "Windows"). Specifcally, Steve Huston wrote: "The Windows SSL support is via built-in SSL support in Windows, not via NSS as the Linux version is. So the Windows certificate handling is used. Try this... On your Windows system, start IE (not another browser) and connect to <your qpid broker>:5671 (assuming your broker is listening for SSL on port 5671. You'll probably get a certificate error from IE. Follow the prompts to import it. Now try your client. -Steve" Hope that helps. pc. On Fri, Nov 18, 2011 at 2:38 AM, Hamid.Shahid <[email protected]> wrote: > Hi Paul, > > I am running a broker on my windows machine and I am trying to make a Qpidd > client in C++ on windows environment. I want to implement enable SSL on my > client and I am not yet able to find out how to pass the certificate > information to the connection object. I am doing something like following, > can you please let me know, where should I bind the SSL certificate? > > ... . . . . .. > Connection connection(broker); > connection.setOption("transport", "ssl"); > connection.setOption("sasl_mechanisms", "EXTERNAL"); > try { > std::cout << "Opening connection" << std::endl; > connection.open(); > std::cout << "Creating a session" << std::endl; > Session session = connection.createSession(); > .. .. . . .. . . > > > Thank you. > > regards, > Hamid. > > -- > View this message in context: > http://apache-qpid-users.2158936.n2.nabble.com/broker-clustering-with-SSL-tp7002671p7004506.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] > >
