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

Status
Not open for further replies.

Zerobyte

Forum Guru
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.

Similar threads

About this Thread

  • 10
    Replies
  • 2K
    Views
  • 8
    Participants
Last reply from:
ickie1593

Online now

Members online
962
Guests online
1,557
Total visitors
2,519

Forum statistics

Threads
2,273,356
Posts
28,948,970
Members
1,235,715
Latest member
mjsimborio2
Back
Top