As I don\'t know the openssl command\'s arguments by heart, I am used to referring to the same SO answer whenever I need to create self-signed certificates (for testing environm
openssl req creates a CSR or a CA root certificate. See the man page. It is not what you want. The second set of steps is correct.
openssl req