Using PEM to autogenerate SSL keys