Advertisement
Guest User

Untitled

a guest
Jan 21st, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement