Hello, I'd like to ask some questions about using curl in zos,
to be more specific I'm exploring how to upload/download things from zos to Nexus.
The command like this :
curl -v -u id:pw -X "POST" "nexusurl" .......skipped the remaining input for nexus
My questions are :
1. With above command, it would be showed with SSL error as the Nexus server is SSL only.
If I insert this --cacert into the command, the connection would be good :
--cacert /path/cert.pem where the cert.pem is having the required SSL cert
Is there anyway to setup the curl with default cert path so that we don't need to specify the --cacert location in the command?
2. Alternatively, Is there any way to refer a RACF keyring to access the SSL cert when we use curl ?
3. The file to be uploaded to Nexus would be also specified in the curl command, which seems to be supporting USS file path only,
is curl command able to support a zos dataset instead of a USS file ?