IIRC this is a "bug" in older versions of httplib2 whereby the function that handles the SSL transaction does not support the ability to ignore SSL warnings such as self-signed certificates. I believe my "fix" was to upgrade to a newer version of httplib2 via Pip; I was using the distro-provided one previously.
Unless you're totally comfortable just throwing down on the upgrade, let me know which version of httplib2 you're running (I think it was ~0.7 that was affected) and I'll double check. On Wednesday, March 4, 2015 at 7:38:03 AM UTC-8, Jan Mattsson wrote: > > I am trying to connect to an internal web service that uses SSL and self > signed certificates > > When I try to connect ansible fails, httplib2 gets SSL handshake error > with the message "SSL23_GET_SERVER_HELLO:unknown protocol" > connecting to the service from a webbrowser works fine. > > any ideas on what I should do to make it work? getting official ssl-certs > for the internal systems is not an option. > > regards > > Jan Mattsson > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/784244b6-8f74-458b-9b12-c9f83a70e665%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
