Archive for November 2008

Managing local development websites on your Mac

I recently had my hard drive fail in my Mac­Book Pro I use for work, which, while a lit­tle painful, gave me the oppor­tu­nity get a fresh, clean install of everything—especially my Apache con­fig files.  Like a lot of devel­op­ers, my Apache con­fig files had been hacked to pieces.  This was a great time to […]

Read more

Generate a self-signed SSL certificate for local development on a Mac

Gen­er­ate a host key First, make a home for the new SSL files—I use /etc/apache2/ssl.  Open up a ter­mi­nal win­dow, cd to the new direc­tory and issue the fol­low­ing com­mand to cre­ate a host key file. sudo ssh-keygen –f host.key Gen­er­ate a cer­tifi­cate request file This com­mand will cre­ate a cer­tifi­cate request file. A cer­tifi­cate request file […]

Read more