Changes

Jump to navigation Jump to search
100 bytes added ,  17:24, 8 December 2015
→‎Renew of the certs: Add domain-modify, email-update, and ibay-modify events to script
Line 44: Line 44:  
  source /opt/rh/python27/enable
 
  source /opt/rh/python27/enable
 
  export X_SCLS="`scl enable python27 'echo $X_SCLS'`"
 
  export X_SCLS="`scl enable python27 'echo $X_SCLS'`"
  service httpd-e-smith stop
+
  /sbin/service httpd-e-smith stop
 
  cd /src/letsencrypt
 
  cd /src/letsencrypt
 
  ./letsencrypt-auto certonly --standalone --email me@mydomain.co.uk -d test.firstdomain.co.uk -d seconddomain.co.uk -d www.seconddomain.co.uk --renew-by-default
 
  ./letsencrypt-auto certonly --standalone --email me@mydomain.co.uk -d test.firstdomain.co.uk -d seconddomain.co.uk -d www.seconddomain.co.uk --renew-by-default
  service httpd-e-smith start
+
  /sbin/e-smith/signal-event domain-modify
 +
/sbin/e-smith/signal-event email-update
 +
/sbin/e-smith/signal-event ibay-modify
    
You may want to set this up as a cron job to run every two months, to make sure your certificate doesn't expire. Please see '''[[Crontab_Manager]]''' contrib for an easy way to achieve this.
 
You may want to set this up as a cron job to run every two months, to make sure your certificate doesn't expire. Please see '''[[Crontab_Manager]]''' contrib for an easy way to achieve this.
147

edits

Navigation menu