From hava, 4 Years ago, written in Bash.
This paste is a reply to save-certificate.sh from hava - view diff
Embed
  1. read -p "Certificate: " CERT
  2. echo $CERT > $CERT_NAME.cer
  3. read -p 'ROOT Certificate: ' CERT_ROOT
  4. read -p 'INTERMEDIATE Certificate: ' CERT_INTERM
  5. echo $CERT_ROOT\n$CERT_INTERM > $CERT_NAME-CA.cer
  6. read -p "Nextcloud Username: " USER
  7. read -s -p "Nextcloud Password: " PWD; echo
  8. curl -u $USER:$PWD -X MKCOL "https://c.connexeon.com/remote.php/dav/files/$USER/$CERT_NAME"
  9. find /root/$CERT_NAME -type f -exec curl -u $USER:$PWD -T {} "https://c.connexeon.com/remote.php/dav/files/$USER/$CERT_NAME/{} \;

Replies to Re: save-certificate.sh rss

Title Name Language When
Re: Re: save-certificate.sh hava bash 4 Years ago.
Re: Re: save-certificate.sh hava bash 4 Years ago.