Setting up Self-Signed Certs

This jamielinux blog post looks promising.