09 January 2012 ~ 0 Comments

Load balancing in EC2 with Nginx and HAProxy

TweetWe wanted to setup a loadbalanced web cluster in AWS for expansion. My first inclination was to use ELB for this, but I soon learned that ELB doesn’t let you allocate a static IP, requiring you to refer to it only by DNS name. This would be OK except for the fact that our current [...]

Continue Reading

20 September 2011 ~ 3 Comments

Making sure SSLv2 is disabled in Apache (and Nginx)

Tweet Edit Jan 24, 2012: Deleted all the crap from this story and just left the recommended Apache and Nginx SSL cipher suites for maximum security without SSLv2 and without BEAST vulnerability (at least according to Qualys). Apache httpd SSLProtocol -ALL +SSLv3 +TLSv1 SSLCipherSuite ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM; SSLHonorCipherOrder on nginx ssl_protocols SSLv3 TLSv1; ssl_ciphers ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM; ssl_prefer_server_ciphers on; [...]

Continue Reading

30 November 2010 ~ 0 Comments

Wasted time with Exchange 2010, SquirrelMail, and IMAP-SSL

TweetI’m setting up SquirrelMail to point to my Exchange 2010 server via IMAP (don’t ask) and couldn’t get SM to talk to Exchange on port 993 (imaps). Even though the servers on the same subnet, any time passwords are being sent over the network I like to opt for SSL. I found a couple of [...]

Continue Reading

28 October 2010 ~ 3 Comments

Setting up InspIRCd as an internal IRC server for companywide chat

TweetI got this idea (from this blog post) that it would be cool and great if we had an IRC server to facilitate communication within our team.  I started checking out some different IRC servers to see which ones supported the main features I wanted (LDAP auth & SSL).  I started out with ratbox but [...]

Continue Reading

20 September 2010 ~ 1 Comment

Forcing WordPress administration over SSL

TweetI never like typing a password into a non-SSL site, no matter how trivial it is. In order to give my own site this ability I simply used mod_rewrite to force requests to WordPress’s admin pages to go over SSL. The .htaccess file for the site looks like this: # BEGIN WordPress <ifModule mod_rewrite.c> RewriteEngine [...]

Continue Reading

27 July 2010 ~ 6 Comments

Outlook 2007 & Exchange 2010 Autodiscover SSL certificate error annoyance

TweetOne of the more annoying side effects of migrating my mailbox to Exchange 2010 has been the nagging of Outlook 2007′s Autodiscovery feature. Now, every time I start Outlook I get hit with a certificate error for autodiscover.domain.com. Now, autodiscover.domain.com is a CNAME to mail.domain.com, which is the OWA URL for the CAS. The SSL [...]

Continue Reading

31 August 2009 ~ 0 Comments

Monitoring SSL certificate expiration with ssl-cert-check

TweetI was about to write a script using OpenSSL to monitor the SSL certificate expiration dates for a few servers when it dawned on me that someone had probably done this already. The ssl-cert-check shell script takes a list of hosts/ports and prints out the expiration date (and how many days away that date is). [...]

Continue Reading