stompgem / stomp

A ruby gem for sending and receiving messages from a Stomp protocol compliant message queue. Includes: failover logic, ssl support.
http://stomp.github.com
Apache License 2.0
152 stars 80 forks source link

Private key password can't be set #38

Closed mindscratch closed 12 years ago

mindscratch commented 12 years ago

The current SSL support doesn't allow for a password to be set for the private key. Right now it lets you configure the 'key_file' which ultimately gets read in and passed to the OpenSSL::PKey::RSA constructor. The RSA constructor also allows for a second argument, the password.

The SSLParams should allow a "key_password" to be defined which gets passed along to the OpenSSL::PKey::RSA constructor if defined.

mindscratch commented 12 years ago

submitted a pull request: https://github.com/stompgem/stomp/pull/39

gmallard commented 12 years ago

Thanks. Just saw this. It will not auto merge, so I need to look at it a little, but will get it in.

gmallard commented 12 years ago

See issue #39.