在perl中初始化OpenSSL模块时出错

时间:2013-05-21 14:41:11

标签: perl encryption openssl perl-module pkcs#7

嗨,我是perl的新手。如何在perl中创建pkcs7签名。任何示例代码都会有所帮助。我试图使用OpenCA :: OpenSSL。我在初始化OpenCA :: OpenSSL实例时遇到错误。 提前致谢.......   我的代码

$openssl = OpenCA::OpenSSL->new(path=>'/usr/bin/openssl');
my $crl=$openssl->issueCrl(
       CAKEY=>'passbook/key.pem',
       CACERT=>'passbook/certificate.pem',
       PASSWD=>'somepass',
       OUTFILE=>'passbook/signature',
       OUTFORM=>'DER',
);

我收到的错误消息是

Use of uninitialized value $initial_skip in concatenation (.) or string at
/usr/local/share/perl/5.14.2/Parse/RecDescent.pm line 3054."

0 个答案:

没有答案