Transport Level Security using HTTPS

The Primavera Data Service supports the HTTPS (Hypertext Transfer Protocol over Secure Socket Layer) to ensure secure communication between clients and the data service. For security reasons, HTTP is not supported. All requests to the data service must be sent using the HTTPS protocol.

Using HTTPS with curl

To connect to the data service using curl, you must install a version of curl that supports SSL. When you connect to the data service, you must provide an SSL certificate authority (CA) certificate file or bundle to authenticate against the Verisign CA certificate.

To use curl with SSL:

  1. Navigate to the curl CA Certs page at http://curl.haxx.se/docs/caextract.html and download the cacert.pem SSL CA certificate bundle in the folder where you installed curl.
  2. Open the command-line, navigate to the directory where you installed curl, and set the curl environment variable, CURL_CA_BUNDLE, to the location of an SSL certificate authority (CA) certificate bundle. For example:
    		C:\curl> set CURL_CA_BUNDLE=cacert.pem
    		

You are now ready to send requests to the data service using curl.