09 July 2014

Cron Scheduling

# minute hour day-of-month month day-of-week
# minute (0 - 59)
# hour (0 - 23)
# day-of-month (1 - 31)
# month (1 - 12)
# day-of-week (0 - 6) (0 to 6 are Sunday to Saturday, or use names; 7 is Sunday, the same as 0)

19 June 2014

SSL Certificate Key Matching

Use the following commands to match the key, CRT and CSR of a SSL certificate.
openssl x509 -noout -modulus -in certificate.crt | openssl md5
openssl rsa -noout -modulus -in privatekey.key | openssl md5
openssl req -noout -modulus -in csr.csr | openssl md5