It is not clear to me what the second command does
openssl genrsa -des3 -passout pass:123 -out private/server.key 2048
openssl rsa -passin pass:123 -in private/server.key -out private/server.key
The first one generate a RSA key encrypted using des3 with pass 123. What about the second one? Does it remove the password?
Thank you,