Skip to content

Instantly share code, notes, and snippets.

View thatmattlove's full-sized avatar

Matt Love thatmattlove

View GitHub Profile
@thatmattlove
thatmattlove / pfxtopem.sh
Last active September 19, 2018 20:18 — forked from 5nizza/remove_pass_from_cert.sh
A quick and dirty script to remove password from SSL certificate. Source: http://serverfault.com/questions/515833/how-to-remove-private-key-password-from-pkcs12-container
#!/bin/bash
# the source: http://serverfault.com/questions/515833/how-to-remove-private-key-password-from-pkcs12-container
if [ $# -ne 2 ]
then
echo "Usage: `basename $0` YourPKCSFile YourPKCSPassword"
exit $E_BADARGS
fi