mirror of
https://github.com/lfs-book/make-ca.git
synced 2026-01-09 14:17:23 +00:00
silenced openssl x509 warning using -in (#30)
This commit is contained in:
2
make-ca
2
make-ca
@ -768,7 +768,7 @@ unset CERTBEGINLIST certbegin
|
||||
for tempfile in ${TEMPDIR}/certs/*.tmp; do
|
||||
# Convert to a PEM formated certificate
|
||||
printf $(awk '/^CKA_VALUE/{flag=1;next}/^END/{flag=0}flag{printf $0}' \
|
||||
"${tempfile}") | "${OPENSSL}" x509 -text -inform DER -fingerprint \
|
||||
"${tempfile}") | "${OPENSSL}" x509 -in /dev/stdin -text -inform DER -fingerprint \
|
||||
> tempfile.crt
|
||||
|
||||
# Get individual values for certificates
|
||||
|
||||
Reference in New Issue
Block a user