You have a few methods to ID where your pulling the CA listings from ;
1: Run curl in the verbose and look for the line CApath if present.
e.g
2: Run the curl command with a bad CAfile listing and look for the report CApath.
e.g
This will showing the pre-compiled CApath that cURL checks for CAs.

So if you want to add a certificate of a CA, just apply the file in the /etc/ssl/certs location in a PEM format. Most unix and linux deployments have the certificates of the CAs list a synbolic link to another directory.
Remember not all curl versions support the same features.
Ken Felix
NSE ( network security expert) and Route/Switching Engineer
kfelix -----a----t---- socpuppets ---dot---com
^ ^
=( @ @ )=
o
/ \
No comments:
Post a Comment