1. Home
  2. CentOS Server
  3. Generating CSR and Acquiring a SSL Certificate
  1. Home
  2. Config
  3. Generating CSR and Acquiring a SSL Certificate

Generating CSR and Acquiring a SSL Certificate

Powercode CentOS servers use an Apache ssl certificate (https if it is specified).  To generate an SSL certificate you will require a CSR file (Certificate Signing Request). You will also require a private Key. This guide helps you create both in case you do not have either.

SSH into your Billing Server and run the following commands to generate a CSR and Private Key:

openssl req -out CSR.csr -new -newkey rsa:4096 -nodes -keyout privateKey.key
openssl rsa -in privateKey.key -out newPrivateKey.key

You will need to know the following information:

  • Country Name (2 letter code)
  • State or Province Name (full name)
  • Locality Name (eg, city)
  • Organization Name (eg, company)
  • Organizational Unit Name (eg, section) (or department, ie Engineering, Sales, etc)
  • Common Name (your server’s domain name, see note)
  • Email Address

One of the most important inputs is the Common Name. For single certs this should take the form of yourdomainname.com for wildcard certs it takes the form of *.yourdomainname.com. If you are unsure consult documentation provided by your certificate provider.

It is technically possible to use an IP address in place of a domain or subdomain, but it is not a recommended practice and we cannot guarantee it will not cause web browsers to throw security warning errors.

After this you should see a file named CSR.csr in the folder you executed the commands in. You then can submit this CSR to your Certificate Authority to receive the Certificate files from them.

If you are confident in your ability you may install the SSL certificate yourself. Otherwise please contact Powercode support and we can perform the installation for you.

Updated on March 21, 2019

Was this article helpful?

Related Articles