Hello,

why does the following makefile not succeed?



all: pckdCRL.zip

.SUFFIXES:
.SUFFIXES: .text .pem .crl

.pem.crl:
    openssl crl -in $< -outform der -out $@

.pem.text:
    openssl crl -noout -text -in $< >$@

pckdCRL.zip: rootCRL.pem rootCRL.crl rootCRL.text
    zip -9 -j pckdCRL.zip rootCRL.pem rootCRL.crl rootCRL.text

rootCRL.crl: rootCRL.pem

rootCRL.text: rootCRL.pem

rootCRL.pem: index.text
openssl ca -config openssl.cnf -name ca -cert root.pem -keyfile rootkey.pem -gencrl -crl_reason unspecified -out rootCRL.pem 2>&1



I have isolated the problem:

openssl crl -noout -text -in $< >$@
exits with exit code 1 instead of 0, why?

openssl crl -noout -text -in $< -out $@
does the same ..., exit code 1 instead of 0



Thanks,
Walter


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to