Hi,
I'm trying to design an application in an SSL environment that uses the
cURL functions. I know that cURL supports the passing of a
certificate, but how can I dynamically obtain a "copy" of the client
certificate that the user used to authenticate? My goal is to have the
user present his/her client certificate when they invoke my web app,
and then "pass" that certificate onto cURL.
I guess a more generic way of asking this question is: how can I access
the current client certificate on the server? Is there some
environmental variable that holds the entire certificate, as opposed to
the numerous SSL env variables that hold all the certificate piece
parts?
Or is what I'm trying to do not possible?
Thanks,
Stan McFarland
I'm trying to design an application in an SSL environment that uses the
cURL functions. I know that cURL supports the passing of a
certificate, but how can I dynamically obtain a "copy" of the client
certificate that the user used to authenticate? My goal is to have the
user present his/her client certificate when they invoke my web app,
and then "pass" that certificate onto cURL.
I guess a more generic way of asking this question is: how can I access
the current client certificate on the server? Is there some
environmental variable that holds the entire certificate, as opposed to
the numerous SSL env variables that hold all the certificate piece
parts?
Or is what I'm trying to do not possible?
Thanks,
Stan McFarland
Comment