How to change libcurl SSL backend from gnutls to openssl on Ubuntu server
Posted
by
Jayesh
on Server Fault
See other posts from Server Fault
or by Jayesh
Published on 2012-01-11T11:36:47Z
Indexed on
2012/06/02
10:43 UTC
Read the original article
Hit count: 338
I am getting gnutls specific errors in my Tornado webserver while processing Google OpenID SSL responses. One of the suggestions I got from Tornado mailing list is to try OpenSSL backend instead of gnutls. But it doesn't seem to be straightforward on Ubuntu server (11.10).
On Ubuntu server, gnutls
is provided by libcurl3-gnutls
package and openssl curl support is provided by libcurl4-openssl-dev
package. (I don't know why the later is named 4
and dev
, but I couldn't find any other openssl+curl package in apt-cache search).
I had libcurl3-gnutls
installed by default, but not libcurl4-openssl-dev
. So I installed the later and restarted Torando instances. But that didn't seem to work. I still got same gnutls errors.
I found old discussions on curl mailing lists regarding the problems of supporting different SSL backends to libcurl, but didn't find exactly how is it done today. So far my guess is openssl is built into libcurl and gnutls is provided through separate package (that will explain why there is no libcurl3-openssl). But how do I make libcurl to pick up openssl backend and not gnutls? Is there some option in libcurl/pycurl API to do this?
I tried uninstalling libcurl3-gnutls
, but apt-get prompted that it will also remove python-pycurl
along with it. So that won't do.
© Server Fault or respective owner