Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. HttpSendRequest fails for https

HttpSendRequest fails for https

Scheduled Pinned Locked Moved C / C++ / MFC
c++sysadminsecuritycryptographyjson
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gbabu17
    wrote on last edited by
    #1

    Hi, I have few questions. i have read some articles on https+vc++ in code project. Thanks to the guys for articles. 1. If i need to do a https request(ssl+client crtification) to a server which is the library i need to use for VC++ dll(not a desktop application). winInet or WinHttp 2. what are the sequence of operations(API methods) to send the https request. 3. i have client certificate, and i want to select this particular client certificate with the https request. thanks

    G S 2 Replies Last reply
    0
    • G gbabu17

      Hi, I have few questions. i have read some articles on https+vc++ in code project. Thanks to the guys for articles. 1. If i need to do a https request(ssl+client crtification) to a server which is the library i need to use for VC++ dll(not a desktop application). winInet or WinHttp 2. what are the sequence of operations(API methods) to send the https request. 3. i have client certificate, and i want to select this particular client certificate with the https request. thanks

      G Offline
      G Offline
      gbabu17
      wrote on last edited by
      #2

      i am able to makes a https connection using wininet, but how can i handle the response. i am using the InternetReadFile after the request is sent. This method reads the contents of the file, but i want a API method which responds only the output of the object file(my case it is servlet). thanks

      1 Reply Last reply
      0
      • G gbabu17

        Hi, I have few questions. i have read some articles on https+vc++ in code project. Thanks to the guys for articles. 1. If i need to do a https request(ssl+client crtification) to a server which is the library i need to use for VC++ dll(not a desktop application). winInet or WinHttp 2. what are the sequence of operations(API methods) to send the https request. 3. i have client certificate, and i want to select this particular client certificate with the https request. thanks

        S Offline
        S Offline
        surfman19
        wrote on last edited by
        #3

        hi, u could take the following libraries: 1.) libcurl: http://curl.haxx.se/ 2.) C++ Socket Library: http://www.alhem.net/Sockets/ bye

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups