Home | History | Annotate | Download | only in fastboot
      1 #!/bin/bash
      2 
      3 if [ $# -ne 2 ]
      4 then
      5  echo "Usage: $0 alias passphrase"
      6  exit -1
      7 fi
      8 
      9 openssl pkcs12 -passin pass:"$2" -passout pass:"$2" -in $1.p12 -out $1.pem
     10