Source :  Building libcurl with SSL support on Windows 
Thanks Mr. https://stackoverflow.com/users/519376/vtellier
I have followed the following instructions with slight modifications and it worked fine for VS2017 with latest OpenSSL
In my case follow the curl README file was enough.
My configuration is the following:
- Visual Studio 2017  - Static library - Win64 - curl version 7.57.0 - OpenSSL 1.0.2 
Compilation of libCurl
Download libcurl source there: https://curl.haxx.se/download.html
compress the file and go to the folder curl-7.57.0\projects
Open the README file and follow the instructions, this lead me to do the following:
- Downloaded OpenSSL 
       Extract it and rename it to openssl, put it aside the curl folder, this is important as you'll open the VS project that expect
 to find openssl there.
      Install Perl
      Execute the utility build-openssl.bat to perform the compilation of openSSL. With my settings this became the following:
      \build-openssl.bat vc14 x64 release ....\openssl\
      just runs .\build-openssl.bat -help to know more about the parameters.
      After that you can see OpenSSL has been compiled as you got a new folder here: openssl\build\Win64
 - Open the Visual Studio project
curl-7.57.0\projects\Windows\VC14\curl-all.sln - Be sure to set the visual studio project to the build configuration
you need (LIB Release - LIB OpenSSL in my case) - Build all . The library is located at
curl-7.57.0\build\Win64\VC14\LIB Release - L