for f in *.pfx; do pemout="${f}.pem"; keyout="${pemout}.key"; crtout="${pemout}.crt"; openssl pkcs12 -in $f -out $pemout -nodes -password pass:somepass; openssl rsa -in $pemout -out $keyout; openssl x509 -in $pemout -out $crtout; done
BC
for f in *.pfx; do pemout="${f}.pem"; keyout="${pemout}.key"; crtout="${pemout}.crt"; openssl pkcs12 -in $f -out $pemout -nodes -password pass:somepass; openssl rsa -in $pemout -out $keyout; openssl x509 -in $pemout -out $crtout; done
No comments:
Post a Comment