1

嗨,我是 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."
4

0 回答 0