The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 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 |