Generating PEM-formatted certificate signing requests