Generate Your CSR Using Terminal

In some cases, you may want to generate your CSR on your own without the use of a third-party tool (like Go Daddy or Namecheap). To do that, simply open up the app on your desktop called Terminal, the icon should look something like this: 

How to use the Terminal to change the look of your Mac and speed ...

Now, don't be scared away because the contents are a bit "unfriendly" to say the very least. Here's how you get rolling: 

1. Paste the following value in the curser exactly as you see it here and press "enter"

openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr

You should see an output that looks like this: 

2. From here, you'll have to enter the following bits about your company to generate your CSR:

  • Country Code
  • State or Province 
  • City Name
  • Company Name (Organization Name)
  • Organization Section: You can often skip this one, not required 
  • Common Name: This will be the domain or URL that you want to purchase with your SSL certificate. So something along the lines of...

* or 

If you plan to buy a wildcard, you'll want to use the * asterisk 

  • Email address 

Once you've entered those in, use "enter" on your keyboard to generate your CSR and Private Key!

3. If you can't find your CSR, it's likely located in the HOME section of your device under your username.