If you want to have a custom domain for your microsite and also protect it with SSL, then follow these steps to get the certificate for your microsite. Once certificate is issued then you can send it to EduBrite for configuring your microsite. Please read here to complete additional steps related to DNS entry.
Step 1: Generate a private key
# openssl genrsa -out sample.key 2048
this step will create a file named sample.key, this is your private key. Do not specify any password for the key. This file will be needed by EduBrite for installing the certificate.
Step 2: Create a CSR (certificate signing request) signed by the above key
# openssl req -new -key sample.key -out sample.csr
this step will ask you several questions, enter them as accurately as you can, it will result in a file named ww.csr which you need to send to SSL certificate provider. Once you get the certificate from them, you will need the key file (from step 1) as well as the files you get in certificate provider to install on web servers.
===== Example steps =====
Step 2a:
$ mkdir ssl
$ cd ssl
$ openssl genrsa -out sample.key 2048
Generating RSA private key, 2048 bit long modulus
............................................................+++
.....................................................+++
e is 65537 (0x10001)
$ ls -ltr
total 8
-rw-r--r-- 1 edubrite staff 1679 Dec 28 09:34 sample.key
Step 2b:
$ openssl req -new -key sample.key -out sample.csr
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:US
State or Province Name (full name) [Some-State]:California
Locality Name (eg, city) []:Fremont
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Your company name.
Organizational Unit Name (eg, section) []:Your business
Common Name (e.g. server FQDN or YOUR name) []:lms.sample.com
Email Address []:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:Your business name.
$ ls -ltr
total 16
-rw-r--r-- 1 edubrite staff 1679 Dec 28 09:34 sample.key
-rw-r--r-- 1 edubrite staff 1196 Dec 28 09:44 sample.csr
You can submit the sample.csr to any SSL issuing provider, and get the SSL certificate files suitable for Apache web servers. Do not send sample.key to SSL issuing provider. You will typically get a Zip which will typically have 2 files - your certificate file, intermediate/chain file.
Send the zip and sample.key to EduBrite.