shug94 has asked for the wisdom of the Perl Monks concerning the following question:
I have a certificate file which was generated by the simpleCA tool. I want to know what the easiest way is to use this certificate file to sign some data in Perl.
I am running an Apache HTTP Server on a Centos box, and I need to digitally sign some text.
I read in the file (Client.crt), and output it to standard output. It appears to be Base64Encoded. Here is a sample:
Is there a Perl module which will read in this certificate file and allow me to use it to sign data?
Cheers,
Shug
I am running an Apache HTTP Server on a Centos box, and I need to digitally sign some text.
I read in the file (Client.crt), and output it to standard output. It appears to be Base64Encoded. Here is a sample:
-----BEGIN CERTIFICATE----- MIICqzCCAhSgAwIBAgICEAAwDQYJKoZIhvcNAQEEBQAwgZwxCzAJBgNVBAYTAkFV ... EmsqLqgiS/OejqRYmaJe -----END CERTIFICATE-----
Is there a Perl module which will read in this certificate file and allow me to use it to sign data?
Cheers,
Shug
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Using Certificate files in Perl
by Anonymous Monk on Oct 19, 2009 at 02:48 UTC | |
by shug94 (Sexton) on Oct 19, 2009 at 07:09 UTC | |
by Anonymous Monk on Oct 19, 2009 at 07:28 UTC |
Back to
Seekers of Perl Wisdom