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/01 Report--
This article mainly explains "how to apply for a https certificate". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to apply for a https certificate.
Here are two relatively simple ways to apply: use the website https://freessl.cn/ to apply for a certificate valid for one year for free online. * * get certbot client * * wget https://dl.eff.org/certbot-autochmod axix certbot-auto** stop nginx/apache**systemctl stop nginx** generation certificate * *. / certbot-auto certonly-- standalone-- email `Your email address `- d `your domain name address` need to be added after the current website has multiple domain names For example:. / certbot-auto certonly-- standalone-- email `your email address `- d `your domain name 1`-d` your domain name 2` * * View the production certificate * * tree / etc/letsencrypt/live/** add the certificate for nginx** to listen 443 ssl http2 under the server field Server_name domain_name; root / usr/share/nginx/html; ssl_certificate / etc/letsencrypt/live/domain_name/fullchain.pem; ssl_certificate_key / etc/letsencrypt/live/domain_name/privkey.pem; ssl_session_timeout 5m; ssl_ciphers ECDHE, RSAMUR, AES128, Musashi, GCMMuSHA256, ECDH, ECDH, AESHH, HIGH, null, aNULL, MD5, MD5, ADH, RC4; ssl_protocols TLSv1 TLSv1.1 TLSv1.2. Ssl_prefer_server_ciphers on;** is now configured with https, so you can renew automatically by adding the following to the task schedule. 00,12 * python-c 'import random; import time; time.sleep (random.random () * 3600)' & & certbot renew** launch nginx/apache** systemctl start nginx thank you for reading, the above is the content of "how to apply for https certificate", after the study of this article, I believe you have a deeper understanding of how to apply for a https certificate, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.