Skip to main content
RodolfoE
Bronze III
Jan 3, 2023 6:26 PM UTC
Question

API curl --cert

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

MattWho
Titanium ⭐️⭐️
Titanium ⭐️⭐️
Jan 5, 2023 8:09 PM UTC

@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

Translate
VidyaSargur
Community Manager
Community Manager
Jan 11, 2023 5:19 AM UTC

@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. 

Translate
Regards, Vidya Sargur Madabhushi| Senior Community Manager | Was your question answered? Make sure to mark the answer as the Best Answer. If you find a reply useful, say thanks by clicking on the thumbs up button.