Request node with ca certificate

Hi all!

I'm doing some request to an API that has SSL certificate. The output says the follwing:
RequestError: unable to verify the first certificate :

So, the client sent me the CA certificate which it has "client -- chain -- root) in CRT format. I put that in the following section:


But it doesn't work. I have the same error as above.

Anyone worked this issue before?.


The CA cert should not include the client certificate.

You could try to copy the content including the BEGIN/END CERTIFICATE of the root certificate and save it in a .crt and retry?

ok, and how could i know which is the root part?. The client sent me everything in the same CRT file which include the "client + chain + root".


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.