The examples used in this document use the cURL command-line tool to demonstrate how to access the REST APIs for Oracle Clusterware. To connect securely to the REST server, you must install a version of cURL that supports SSL
To install cURL on your system:
In your browser, navigate to the cURL home page at http://curl.haxx.se and click Download in the navigation menu.
On the cURL Releases and Downloads page, locate the SSL-enabled version of the cURL software that corresponds to your operating system. Click the link to download the ZIP file, and extract the executable to the desired folder.
When you run cURL from a Windows command shell, you must provide an SSL certificate authority (CA) file or bundle to authenticate against the cluster root certificate. You can perform this in one of the following ways:
- Set the
CURL_CA_BUNDLEenvironment variable to the location of an SSL certificate authority (CA) certificate file or bundle.
- Specify the location of your local CA certificate bundle on the command line, using the
--cacertcommand line option. To perform this, open a command-line window, navigate to the directory where you installed cURL, and then set the
CURL_CA_BUNDLEenvironment variable to the location of the SSL CA certificate file using the following command:
C:\curl> set CURL_CA_BUNDLE=cacert.pem