In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Application for https Certificate
Apply for a free https certificate through Let' s Encrypt
Official website
First of all, before doing it, you can go to certbot to have a look, I think it is still very necessary!
Install certbot
Yum install epel-release-yyum install certbot wildcard certificate request command
The command will verify the owner of the domain name, that is, add a TXT record to the domain name console. Certbot certonly-d * .test.com-- manual-- preferred-challenges dns-- server https://acme-v02.api.letsencrypt.org/directory
When finished, the directory where the domain name is located will be displayed.
4. Automatic renewal
Echo "00,12 * root python-c 'import random; import time; time.sleep (random.random () * 3600)' & & certbot renew" | sudo tee-a / etc/crontab > / dev/null
It is renewed 30 days before the expiration by default, and can be manually configured if it does not meet the requirement.
/ etc/letsencrypt/renewal/test.conf
5. Certificate cleaning
If you don't want it or need to clean it up for some other reason, just execute the following command
Rm-rf / etc/letsencrypt/live/www.example.com/rm-rf / etc/letsencrypt/archive/www.example.com/rm / etc/letsencrypt/renewal/www.example.com.conf
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.