njh / ruby-mqtt

Pure Ruby gem that implements the MQTT protocol, a lightweight protocol for publish/subscribe messaging.
http://www.rubydoc.info/gems/mqtt
MIT License
541 stars 135 forks source link

Certificates should not have to be written to disk to be used. #75

Closed cwingate closed 8 years ago

cwingate commented 8 years ago

Just a simple update to allow certificates in memory to be used.

njh commented 8 years ago

Looks good, thanks for the PR!

Out of interest, where are your certs coming from?

cwingate commented 8 years ago

I am currently passing them in as ENV variables.

njh commented 8 years ago

Ah, that makes sense, thanks.