Generate a valid openssl certificate