Home > Archive > PERL Beginners > July 2007 > HTTPS, Perl and X.509 certificate
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
HTTPS, Perl and X.509 certificate
|
|
|
| Hi all,
I'm trying to automate a process whereby a user has to log on to a website
and download a file to a local directory every day. The website requires an
X.509 certificate (which I have), but I'm not sure where to start in
incorporating this certificate into my HTTPS request.
The certificate is currently in .pfx format, and I think I need to extract
the certificate and private key from this .pfx and somehow reference them in
my perl script, but don't really know where to start.
Any pointers would be appreciated!
Thanks
steve
| |
|
|
"steve" <steve@nospamtoday.thanks> wrote in message
news:Taqni.12881$Jc7.3892@fe03.news.easynews.com...
> Hi all,
>
> I'm trying to automate a process whereby a user has to log on to a website
> and download a file to a local directory every day. The website requires
> an X.509 certificate (which I have), but I'm not sure where to start in
> incorporating this certificate into my HTTPS request.
>
> The certificate is currently in .pfx format, and I think I need to extract
> the certificate and private key from this .pfx and somehow reference them
> in my perl script, but don't really know where to start.
>
> Any pointers would be appreciated!
>
> Thanks
> steve
>
Look at CPAN at Crypt::X509 which parses X.509 certificates.
Regards
John
|
|
|
|
|