I am trying to create ssl certification on my website. To, create csr , I used the command:
openssl req –new –newkey rsa:2048 –nodes –keyout mydomain.key –out mydomain.csr
But, I get the error saying:
req: Use -help for summary.
I checked if openssl is installed or not, and it gives the version. So, it is installed.
I don't know what to do. I am fairly new to this. This is my first try to get the ssl. So, I am having hard time. Every help is appreciated.
Best Answer
Generate and sign the private key for
my.domain.com
usingopenssl
.Create a new encrypted private key.
Enter httpd at the passphrase prompt (or just press empty). Generate a self-signed certificate using the key.
OR