Skip to content

Instantly share code, notes, and snippets.

View jfisbein's full-sized avatar

Joan jfisbein

View GitHub Profile
@jfisbein
jfisbein / startssl_fritz.sh
Last active January 2, 2017 16:56
Install StartSSL cert in FritzBox
#!/bin/bash
# decipher key
openssl rsa -in ssl.key -out ssl.key
# download intermediate cert
wget http://www.startssl.com/certs/sub.class1.server.ca.pem
# join certs
cat ssl.crt sub.class1.server.ca.pem ssl.key > all.pem

Keybase proof

I hereby claim:

  • I am jfisbein on github.
  • I am jfisbein (https://keybase.io/jfisbein) on keybase.
  • I have a public key ASAR-HH1_imPicRhf2usrFtJE_aSodteWujmgOOFY90-7go

To claim this, I am signing this object:

#!/bin/bash
src_git="$1"
dst_git="$2"
git clone --mirror ${src_git} migrate
cd migrate
git remote add dst ${dst_git}
git push --mirror dst
cd ..