Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
system
/
core
/
c27a444e54d531f8a0cd33e67dc46ff7c763cc4b
/
.
/
fastboot
/
p12topem.sh
blob: f081eb5312a49a3b8c8e1058a4dc9f5adf2fa797 [
file
] [
log
] [
blame
]
#!/bin/bash
if
[
$
# -ne 2 ]
then
echo
"Usage: $0 alias passphrase"
exit
-
1
fi
openssl pkcs12
-
passin pass
:
"$2"
-
passout pass
:
"$2"
-
in
$1
.
p12
-
out $1
.
pem