Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

API curl --cert

avatar
New Contributor

Hi guys, how could use a command curl add the --cert, i have the below error:

 

curl: (58) NSS: client certificate not found (nickname not specified)

2 REPLIES 2

avatar
Super Mentor

@RodolfoE 

Try using the absolute path to the certificate pem file rather than just the filename.
If you are executing your curl command from within the directory where your pem file resides, try using "./<pem filename>".

Otherwise curl may try looking up yoru pem filename as if it were an alias/nickname it expects find in some NSS database.

If you found that the provided solution(s) assisted you with your query, please take a moment to login and click Accept as Solution below each response that helped.

Thank you,

Matt

avatar
Community Manager

@RodolfoE, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. 



Regards,

Vidya Sargur,
Community 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: