Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Curl with https support


    Hi,
    I have tried a simple example to get the execute a GET request on http request and now I want to try the https , I dont know how to link openssl in order to do the GET on the https based sites .. Pls do provide some info if anyone has some good docs about this .

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    4,031
    The default curl (at least in ubuntu 12.04) is linked against libssl and can handle https.
    Code:
    ldd /usr/bin/curl |grep ssl
    libssl.so.1.0.0 => /lib/i386-linux-gnu/libssl.so.1.0.0 (0xb7425000)
    
    man curl
    You must always face the curtain with a bow.

  3. #3
    Quote Originally Posted by Irithori View Post
    The default curl (at least in ubuntu 12.04) is linked against libssl and can handle https.
    Code:
    ldd /usr/bin/curl |grep ssl
    libssl.so.1.0.0 => /lib/i386-linux-gnu/libssl.so.1.0.0 (0xb7425000)
    
    man curl
    Hi, I have downloaded the source code of the libcurl and openssl separately , and testing my application .. but I dont know include the openssl in my libcurl part .

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •