What's new

Closed Free ssl certificate for your website using certbot[linux]

Status
Not open for further replies.

Zerobyte

Forum Guru
Elite
Joined
Feb 9, 2017
Posts
3,382
Solutions
32
Reaction
2,790
Points
1,157
Hello there, I will show you how to get free SSL for your websites!
Ok, lets start.

  1. Start by updating:
    Code:
    sudo apt-get update -y


  2. Now install git (if not installed already):
    Code:
    sudo apt-get install git -y


  3. Install CertBot (Also known as Let's Encrypt):
    Code:
    git clone https://github.com/certbot/certbot


  4. Change to the directory:
    Code:
    cd certbot


  5. After, run the script that you just installed:
    Code:
    ./certbot-auto --help


  6. Issuing Certificates:

    Note: Make sure the domains you want to issue certificates to are pointed to the external IP of the VPS you are running CertBot on. (Create an A Record)

    Now, to generate a certificate and have it automatically installed to an Apache based CMS:
    Code:
    ./certbot-auto --apache -d example.com -d www.example.com -d other.example.net
    *Replace example.com with your domain names*

    To generate certificates and manually install them:
    Code:
    ./certbot-auto certonly --standalone --email youremail@example.com -d example.com -d www.example.com -d other.example.net


  7. Your certificates can be found at:
    Code:
    /etc/certbot/archive/%domain%
    Replace %domain% with your domain
Final Notes:
Let's encrypt does not support wildcard, or Extended Validation.
Certificates are active for 90 days, then you have to renew them
 
Status
Not open for further replies.
Back
Top