Generate private key and cert request in two steps On Ubunutu with OpenSSL 1.0.1f using "openssl req" with option -newkey rsa:2048 the generated private key has PKCS#8 format -----BEGIN PRIVATE KEY----- which is not accepted by UAA. With "openssl genrsa" the generated private key has PKCS#1 format -----BEGIN RSA PRIVATE KEY----- which is accepted by UAA.
Generate private key and cert request in two steps
On Ubunutu with OpenSSL 1.0.1f using "openssl req" with option -newkey rsa:2048
the generated private key has PKCS#8 format -----BEGIN PRIVATE KEY-----
which is not accepted by UAA.
With "openssl genrsa" the generated private key has PKCS#1 format
-----BEGIN RSA PRIVATE KEY----- which is accepted by UAA.

voelzmo/docs-bosh,cloudfoundry/docs-bosh