Category: Uncategorized
migrating unifi APs to another controller
-
1. SSH into AP with former controller’s credentials
-
2. reset to default with:
syswrapper.sh restore-default &
set-default &
-
3. connection will be terminated
-
4. SSH into AP with ubnt/ubnt
-
5. use mca-cli shell
-
6. set-inform http://x.x.x.x:8080/inform
where x.x.x.x is the ip of the new unifi controller
-
7. AP will reboot and provision
grab all dc certificates
nslookup YOUR_DOMAIN_HERE | grep "Address: " | awk '{ print $NF }' | while read _HOST ; do echo | openssl s_client -connect ${_HOST}:636 2>/dev/null | openssl x509 -text | grep -A 100 "BEGIN CERTIFICATE" > ${_HOST}.pem ; done
list ciphers supported by an http server
nmap --script ssl-enum-ciphers -p 443 www.example.com
…und natuerlich geht das nicht nur fuer http, sondern jede ssl verbindung.
bitwarden docker is eating disk
nach ner weile sammelt sich hier unbenutzter kram: /var/lib/docker/overlay2
so wird man den los:
docker system prune --all --volumes --force