Installing the cURL Command-Line Tool on Windows
- This tutorial shows you how to access Oracle Messaging Cloud Service via the REST interface by using the cURL command-line tool. cURL is free, open software that runs under various operating systems.
This tutorial demonstrates cURL on a Windows 64-bit operating system that is enabled for the secure sockets layer (SSL). The authentication aspects of the Messaging Cloud Service require an SSL-enabled environment.
Your first task is to install the appropriate version of cURL for your SSL-enabled environment.
There is an ordered series of steps to follow to install cURL on Windows. There are two libraries to install and they must be installed before cURL will work with SSL. Also, they must be installed in this order to work. Do not skip the step to install a recent certificate.
For 64-bit systems: Visual C++ 2008 Redistributables (x64) from http://www.microsoft.com/en-us/download/details.aspx?id=15336
For 32-bit systems: Visual C++ 2008 Redistributables (x32)
For 64-bit systems: Visual C++ 2010 Redistributables (x64) from http://www.microsoft.com/en-us/download/details.aspx?id=14632
For 32-bit systems: Visual C++ 2010 Redistributables (x32)
For 64-bit systems: Win64 OpenSSL v1.0.0k Light
For 32-bit systems: Win32 OpenSSL v1.0.0k Light
The cURL website offers a wizard to find the appropriate version for your computer's operating system.
For this tutorial, the 64-bit generic, SSL-enabled version for Windows is selected.
Download
cacert.pem
, a recent copy of valid CERT files, from http://curl.haxx.se/docs/caextract.html.Copy it to the same folder where you placed
curl.exe
and rename it curl-ca-bundle.crt
.curl.exe
from a command window (in Windows, click Start > Run and then enter "cmd"
in the Run dialog box).curl --help
to see a list of cURL commands.
No comments:
Post a Comment