Skip to content

Instantly share code, notes, and snippets.

@dandpg
dandpg / pemExtract.sh
Last active November 20, 2018 22:47 — forked from paxswill/pfsense_cert_to_keystore.sh
I modfied the Script for generate only .pem file for use Let's Encrypt certificate with Encrypted browser-Squid connection.
#!/bin/sh
set -eu
XMLLINT=/usr/local/bin/xmllint
BASE64_DECODE='/usr/local/bin/python2 -m base64 -d'
OPENSSL="/usr/bin/openssl"
KEYTOOL="/usr/local/bin/keytool"
PFSENSE_CONF=/cf/conf/config.xml