In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "how to install Let's Encrypt permanent free SSL certificate under centos". The content of 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 install Let's Encrypt permanent free SSL certificate under centos".
Function
Https certificate, free version, renewed every three months, can be automatically renewed with script
Installation
Ssh logs in to the host where the domain name configuration is located (nginx,apache, etc.)
Install git yum-y install git
Enter git clone https://github.com/letsencrypt/letsencrypt
Cd letsencrypt
Chmod + x letsencrypt-auto
Install the certificate:
Wget http://mirror.centos.org/centos/6/os/x86_64/Packages/gdbm-1.8.0-39.el6.x86_64.rpm
Yum localinstall gdbm-1.8.0-39.el6.x86_64.rpm
. / letsencrypt-auto certonly-- email 86533019@qq.com-d jenkins.jetbrains.org.cn
The d parameter is followed by the domain name, in the process of execution I encountered the following error: Total size: 44 M Downloading Packages: Running rpm_check_debug ERROR with rpm_check_debug vs depsolve: libgdbm.so.2 () (64bit) is needed by python-libs-2.6.6-66.el6_8.x86_64 * * Found 7 pre-existing rpmdb problem (s) 'yum check' output follows: 4:perl-5.10.1-141.el6_7.1.x86_64 has missing requires of libgdbm.so.2 () (64bit) 4:perl-devel-5.10.1-141.el6_7.1.x86_64 has missing requires of gdbm-devel polkit-0.96-5.el6_4.x86_64 has missing requires of libeggdbus-1.so.0 () (64bit) 2:postfix-2.6.6-6.el6_5. X8634 has missing requires of libmysqlclient.so.16 () (64bit) 2:postfix-2.6.6-6.el6_5.x86_64 has missing requires of libmysqlclient.so. 16 (libmysqlclient_16) (64bit) 2:postfix-2.6.6-6.el6_5.x86_64 has missing requires of mysql-libs python-libs-2.6.6-52.el6.x86_64 has missing requires of libgdbm.so.2 () (64bit) Your transaction was saved, rerun it with: yum load-transactiontmp/.yum_save_tx-2017-04-07-22-1798AqLE.yumtx Could not install OS dependencies. Aborting bootstrap!
Centos 6 requires libgdbm.so.2 to be installed:
When finished, re-execute the above command line:
That is, the installation is complete
Configure 1. Web server, for this is nginx, add code in nginx: listen 443 ssl; ssl on; ssl_certificate / etc/letsencrypt/live/XXX.com/fullchain.pem; ssl_certificate_key / etc/letsencrypt/live/XXX.com/privkey.pem; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; 2. Restart nginx and you can release https.
# # Renewal 1. Execute crontab-e 2 in linux Add code
`06 06 * / www/web/test/lets/certbot-master/certbot-auto renew-- force-renewal-- pre-hook "/ etc/init.d/nginx stop"-- post-hook "/ etc/init.d/nginx start" > / www/web_logs/letsencry.log 2 > & 1` Thank you for reading. The above is the content of "how to install Let's Encrypt permanent Free SSL Certificate under centos". After the study of this article I believe that you have a deeper understanding of how to install the Let's Encrypt permanent free SSL certificate under centos, 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.