I need to specify a certificate with CURL i tried with --cert option it is not working.
Could you please let me know to specify the keystore and passpharse while invokin
Addition to previous answer make sure that your curl installation supports https.
You can use curl --version
to get information about supported protocols.
If your curl supports https follow the previous answer.
curl --cert certificate_path:password https://www.example.com
If it does not support https, you need to install a cURL version that supports https.