I hereby claim:
- I am silverbp on github.
- I am kcnz (https://keybase.io/kcnz) on keybase.
- I have a public key ASBR6YGKdSTBgtQQrNUlhpJvHqJylAYRQ1GgF_nmVO5HwQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Shamelessly stolen from https://gist.github.com/eduardocardoso/82a629882ddb02ab3677 | |
set -o errexit | |
echo "Removing exited docker containers..." | |
docker ps -a -f status=exited -q | xargs -r docker rm -v | |
echo "Removing untagged images..." | |
docker images --no-trunc | grep "<none>" | awk '{print $3}' | xargs -r docker rmi |
openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt | |
keytool -importkeystore -deststorepass ubiquiti -destkeypass ubiquiti -destkeystore keystore -srckeystore certificate.pfx -srcstoretype PKCS12 -srcstorepass ubiquiti -alias 1 | |
keytool -changealias -alias "1" -destalias "airvision" -keypass ubiquiti -keystore /path/to/keystore -storepass ubiquiti |