Generate Private Keys & CSR for an SSL Cert

Something I always tend to have to Google for the right syntax is generating a CSR for an SSL along with a set of keys for it, this post by Google themselves has a good reference:

Generating keys and CSR – Web Fundamentals