Connect to RabbitMQ from PHP over AMQPS

I work a lot with data these days and queues are a common addition to my applications to move data between applications. At the moment I'm working with RabbitMQ (and loving it!) but I wanted to deploy to a hosted RabbitMQ service and struggled to find examples of doing this over SSL so I thought I'd share what worked for me. Disclaimer: I work for IBM and they own, which means I have a "do anything you like!" account there :) Continue reading