Support Questions

Find answers, ask questions, and share your expertise

API curl --cert

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

Master Guru

@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

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: