Use Certbot to free HTTPS protocol for website

Source: Internet
Author: User
Tags certbot letsencrypt

CentOS 系统 Nginx 环境

Cd/usr/local/src
wget Https://dl.eff.org/certbot-auto
chmod a+x Certbot-auto
./certbot-auto--nginx (Auto)

The following content appears to indicate success:

IMPORTANT NOTES:

  • congratulations! Your certificate and chain has been saved at:
    /etc/letsencrypt/live/c.pensukeji.com/fullchain.pem
    Your key file has been saved at:
    /etc/letsencrypt/live/c.pensukeji.com/privkey.pem
    Your cert would expire on 2018-10-16. To obtain a new or tweaked
    Version of this certificate in the future, simply run Certbot-auto
    Again with the "certonly" option. To non-interactively renew All
    of your certificates, run "Certbot-auto Renew"
  • Your account credentials has been saved in Your Certbot
    Configuration directory At/etc/letsencrypt. You should make a
    Secure backup of this folder now. This configuration directory would
    Also contain certificates and private keys obtained by Certbot so
    Making regular backups of this folder is ideal.
  • If you like Certbot, please consider supporting we work by:

    Donating to Isrg/let ' s encrypt:https://letsencrypt.org/donate
    Donating to Eff:https://eff.org/donate-le

./certbot-auto Renew--dry-run (test auto-renew)
./certbot-auto Renew (Perform auto-renew)
Scheduled Tasks
To automate, we set scheduled tasks to check for updates periodically
Edit/etc/crontab Add a line rule
**12** Root./usr/local/src/certbot-auto Renew
Detailed procedures, manual process and various versions of the installation method can be viewed on the following website
Certbot Website: https://certbot.eff.org/

Use Certbot to free HTTPS protocol for website

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.