automated let’s encrypt ssl certificate renewal on centos 7

In my how-to for Let’s Encrypt, I gave an example script that can be called via cron (or manually) which will renew Let’s Encrypt SSL certificates under CentOS 6. If you want to do it on CentOS 7 (which is what I am now running), use the following: cd ~/letsencrypt git pull systemctl stop httpd.service … Continue reading automated let’s encrypt ssl certificate renewal on centos 7

let’s encrypt centos 6 – truly free ssl

There’s been quite a bit of excitement surrounding Let’s Encrypt recently – a truly 100% free SSL issuer. Last week I helped a friend of mine get his first Let’s Encrypt certificate generated and configured for his website. One of the things I found incredibly frustrating is that Let’s Encrypt does not have a package … Continue reading let’s encrypt centos 6 – truly free ssl

automatically extract email attachments with common linux tools

I had need to automatically process emails to a specific address to pull attachments out, and this is how I did it: $ yum install mpack $ cat extract-attach.sh #!/bin/bash rm -rf ~/attachtmp mkdir ~/attachtmp mv ~/Maildir/new/* ~/attachtmp cd ~ munpack ~/attachtmp/* rm -rf ~/attachtmp $ crontab -l */5 * * * * ~/extract-attach.sh Why, … Continue reading automatically extract email attachments with common linux tools