Linux
0
Вклад в тег
$ openssl smime -sign -signer priv.pem -engine gost -binary -noattr -outform DER -in report.pdf -out report.pdf.sig
engine "gost" set.
unable to load certificate
140045688407712:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE
$ openssl smime -sign -signer pub.crt -inkey priv.pem -engine gost -binary -noattr \
-outform DER -in report.pdf -out report.pdf.sig