+ Start a Discussion
Ian QuahIan Quah 

Create your connected app unit - OpenSSL section errors

This is an error under "Create a Self-Signed SSL Certificate and Private Key
Creating"

On Step 2: 
openssl genrsa -des3 -passout pass:x -out server.pass.key 2048
I get the error of "You must type in 4 to 1023 characters" and even if I change that, the generated server.pass.key i still empty so when I run Step 3
 
openssl rsa -passin pass:x -in server.pass.key -out server.key

I get the error of 
 
unable to load Private Key
139667048820672:error:0906D06C:PEM routines:PEM_read_bio:no start line:crypto/pem/pem_lib.c:691:Expecting: ANY PRIVATE KEY

I'm using arch linux if that helps? Has anyone encountered this issue? As far as I can tell this is a new module since CI was announced not too long ago
Rohit RadhakrishnanRohit Radhakrishnan
Hi, 
The first part of this blog explains how we could create a self-signed certificate. 
https://salesforcerealm.com/2020/03/07/authenticate-sfdx-using-jwt/

Regards,
Rohit