Apply for a Let's Encrypt digital certificate and install the cerbot quick start tutorial~~
Download certbot from github
Run certbot (-d parameter specifies the corresponding domain name)
- If you know the type of software, such as Apache, nginx, etc., run
./certbot-auto --apache -d example.com -d www.example.com -d other.example.net
- run if you don't know
./certbot-auto certonly --standalone --email [email protected] -d example.com -d www.example.com -d other.example.net
- If you know the type of software, such as Apache, nginx, etc., run
For example: ./certbot-auto certonly --standalone --email [email protected] -d www.***.com
Of course, this command should be used in the folder with the cerbot-auto file, and it should be noted that sometimes the file does not have its corresponding permissions, you can pass
chmod 777 certbot-auto to empower it
Reference: https://github.com/konginyan/Learning-Notes/blob/master/protocol/%E7%94%B3%E8%AF%B7%20Let's%20Encrypt%20%E6%95%B0%E5%AD %97%E8%AF%81%E4%B9%A6.md