Free https certification

To enable HTTPS on your website, you need to get a certificate (a type of file) from a Certificate Authority (CA). Let’s Encrypt is a CA. In order to get a certificate for your website’s domain from Let’s Encrypt, you have to demonstrate control over the domain. Let's Encrypt

  1. Getting started with Let’s Encrypt

Getting started with Let’s Encrypt

  1. Lookup site
  2. Using Cerbot ACME client
  3. Example - Apache / Ubuntu 16.04
    • Install
       $ sudo apt-get update
       $ sudo apt-get install software-properties-common
       $ sudo add-apt-repository universe
       $ sudo add-apt-repository ppa:certbot/certbot
       $ sudo apt-get update
       $ sudo apt-get install certbot python-certbot-apache
      
    • Get started
       $ sudo certbot --apache // auto
       or
       $ sudo certbot --apache certonly  // manual setting
      
    • Automating renewal
       $ sudo certbot renew --dry-run
       or
       $ crontab -e 
       0 0 * * * /usr/bin/certbot renew --dry-run  // register to cron table
      
  4. Exception/Error occurred
    • Run error: “‘module’ object has no attribute ‘SSL_ST_INIT’”
       $ rm -rf /usr/lib/python2.7/dist-packages/OpenSSL
       $ rm -rf /usr/lib/python2.7/dist-packages/pyOpenSSL-0.15.1.egg-info
       $ sudo pip install pyopenssl
      

© 2018. All rights reserved.

Powered by Hydejack v8.4.0