To Generate a Certificate Signing Request for Apache 2.x
- Log in to your server's terminal (SSH).
- At the prompt, type the following command:openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr
Replace yourdomain with the domain name you're securing. For example, if your domain name is coolexample.com, you would type coolexample.key and coolexample.csr.