Troubleshoot cURL Command Issues When Configuring an IP Network

Note the following potential issues when executing curl commands to create the virtual Oracle Load Balancer as a Service.

  • If you see the following exception while executing curl commands, use the -k option in the command (for example, curl -i -k -X POST).

    curl: (60) SSL certificate problem: unable to get local issuer certificate
    More details here: https://curl.haxx.se/docs/sslcerts.html
    
    curl failed to verify the legitimacy of the server and therefore could not 
    establish a secure connection to it. To learn more about this situation and 
    how to fix it, please visit the web page mentioned above.
  • When you receive an HTTP 500 Internal Server error, your JSON file content is likely not correct. Check for special characters such as .

  • When you submit a request and the curl command does not respond and print any output, ensure the Oracle Load Balancer as a Service URL is accessible from a browser and you are not behind a firewall/inside a corporate network.