Hello,
Most likely, either you need to kinit and use curl -k, if kerberos is enabled, and/or additionally specify the 11443 oozie port with https, if TLS/SSL is enabled. With TLS/SSL, please remember to import the certificate into the cacerts file for the JDK so commands such as oozie and curl trust your oozie server's certificate.
https://blog.cloudera.com/blog/2013/06/how-to-use-the-apache-oozie-rest-api/
https://www.cloudera.com/documentation/enterprise/latest/topics/cm_sg_ssl_oozie.html
https://www.cloudera.com/documentation/enterprise/5-9-x/topics/cm_sg_tls_troubleshoot.html
Robert Justice, Technical Resolution Manager
Was your question answered? Make sure to mark the answer as the accepted solution.If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:Terms of Service