blob: f081eb5312a49a3b8c8e1058a4dc9f5adf2fa797 [file] [log] [blame]
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -08001#!/bin/bash
2
3if [ $# -ne 2 ]
4then
5 echo "Usage: $0 alias passphrase"
6 exit -1
7fi
8
9openssl pkcs12 -passin pass:"$2" -passout pass:"$2" -in $1.p12 -out $1.pem