daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Jan 21st, 2017 13 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. datum=$(date +"%Y-%m-%d")
  2.  
  3. cd /etc/letsencrypt/live/my-domain.de/
  4.  
  5. openssl pkcs12 -export -in cert.pem -inkey privkey.pem -out my-domain_$datum.p12 -password pass:Password
  6.  
  7. mv my-domain_$datum.p12 /root/zert_exchange
  8.  
  9. cd /root/zert_exchange
  10.  
  11. ncftpput -u certuser -p Password 192.168.2.6 / my-domain_$datum.p12
  12.  
  13. exit
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top