1012636 - generate the key and certificate if either does not exist.