Skip to content

Instantly share code, notes, and snippets.

@cmd-not-found
Created April 25, 2021 01:11
Show Gist options
  • Select an option

  • Save cmd-not-found/e8ffdfa56ed1f246faaf6f29f690bfb8 to your computer and use it in GitHub Desktop.

Select an option

Save cmd-not-found/e8ffdfa56ed1f246faaf6f29f690bfb8 to your computer and use it in GitHub Desktop.

Revisions

  1. cmd-not-found created this gist Apr 25, 2021.
    4 changes: 4 additions & 0 deletions unifi-ssl-cert-clean.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    for cert in *.crt; do
    mv $cert $cert.bak
    cat $cert.bak | tr -d '\r\n' > $cert
    done