SSL Certificate

Obtaining a Certificate

  1. Run the command below (replacing example.com with the actual domain details)

    certbot --apache -d example.com

  2. Follow the prompts of the application
  3. At the option, "Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access," choose 1.  Https redirection is configured in the domains conf file
Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: No redirect - Make no further changes to the webserver configuration.
2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for
new sites, or if you're confident your site works on HTTPS. You can undo this
change by editing your web server's configuration.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] then [enter] (press 'c' to cancel):1

For more information, see Let's Encrypt Certificates


Revision #1
Created 23 April 2020 08:28:06 by Admin
Updated 23 April 2020 08:31:17 by Admin