Skip to content

Instantly share code, notes, and snippets.

@cmd-not-found
Created April 25, 2021 01:11
Show Gist options
  • Save cmd-not-found/e8ffdfa56ed1f246faaf6f29f690bfb8 to your computer and use it in GitHub Desktop.
Save cmd-not-found/e8ffdfa56ed1f246faaf6f29f690bfb8 to your computer and use it in GitHub Desktop.
Unifi SSL Certificate Cleanup
for cert in *.crt; do
mv $cert $cert.bak
cat $cert.bak | tr -d '\r\n' > $cert
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment