Marketcircle / jiraSOAP

Ruby interface to the JIRA SOAP API
http://rdoc.info/github/Marketcircle/jiraSOAP/master/frames
MIT License
31 stars 13 forks source link

jiraSOAP doesn't supprt https schemes. #5

Closed ghost closed 13 years ago

ghost commented 13 years ago

As a JiraSOAP user I would like to log in to JIRA instance that is served via secure connection So that I can get all benefits of JIRA SOAP engine.

ferrous26 commented 13 years ago

@ssmiech said:

No, I actually switched to net/https when URL scheme is 'https' I know this is not the best solution but "works for me" And I also switched SSL_verification. http_client.verify_mode = OpenSSL::SSL::VERIFY_NONE

Looking through the handsoap code, it looks like you don't need to worry about requiring net/https, as that should be done automatically the first time 'https' is the scheme.

As for setting the verify_mode, there does not seem to be a way to do that normally in handsoap. Do you have some hacks in place or did I miss something?

ghost commented 13 years ago

verify_mode is not a part of net/http, it's from OpenSSL I found my solution here: http://www.ruby-forum.com/topic/176626

krolow commented 12 years ago

how you handle to solve this problem? I`m having this here right now...

Ive installed the gem Im not sure what I should I do to solve that problem...

ghost commented 12 years ago

Hi, I changed Handsoap library a little bit. I thing it's not required since latest JiraSOAP gem was released. If you still struggle just ping me and I'll send you the patch.