Get Let's Encrypt Wildcard Certificate on CentOS6

Premise

Install Certbot

# yum install epel-release
# wget https://dl.eff.org/certbot-auto
# mv certbot-auto /usr/local/bin/certbot-auto
# chmod 0755 /usr/local/bin/certbot-auto

Execute the command that only obtains the certificate without changing the Apahce settings The first time you need SCL repository and python, so install as instructed

# /usr/local/bin/certbot-auto certonly --apache
Complete!
Creating virtual environment...
Installing Python packages...
Installation succeeded.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Enter email address (used for urgent renewal and security notices)
 (Enter 'c' to cancel):

Cancel once

Obtaining a wildcard certificate

-d is the DNS Name of SANs -m is the contact email address

# /usr/local/bin/certbot-auto certonly --manual
 --server https://acme-v02.api.letsencrypt.org/directory
 --preferred-challenges dns
 --agree-tos
 --manual-public-ip-logging-ok
 -d *.example.com -d example.com
 -m [email protected]

A challenge will be displayed, so register the TXT record in your DNS

Please deploy a DNS TXT record under the name
_acme-challenge.example.com with the following value:

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Before continuing, verify the record is deployed.
Press Enter to Continue

After registering, wait until the DNS record is reflected (about 10 minutes) and then execute Enter. If successful, the following will be displayed

IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at:
   /etc/letsencrypt/live/example.com/fullchain.pem
   Your key file has been saved at:
   /etc/letsencrypt/live/example.com/privkey.pem

Donate to Let's Encrypt

Recommended Posts

Get Let's Encrypt Wildcard Certificate on CentOS6
Introducing Let's Encrypt on CentOS 7
Let's encrypt installation procedure (Oracle Linux, RHEL, Centos7)
OpenVPN on CentOS 8
Creating an SSL certificate using Let's Encrypt and setting up Nginx on Ubuntu 20
Let's create a gcloud development environment on a centos8 container
Make Nginx of CentOS8 SSL compatible with Let's Encrypt
Maven on CentOS 7 tutorial
Docker installation on CentOS 6
Use perltidy on CentOS 8
Install Golang on CentOS 8
Try OpenLiteSpeed on CentOS8
Install Neo4j 4.1.3 on centOS
Tomcat v8 on CentOS7
Install Vertica 10.0 on CentOS 6.10
Zabbix 5 installation on CentOS 8
Use mod_auth_cas on CentOS 8
Install PostgreSQL 12 on Centos8
Install nginx on centOS7
Install Python 3 on CentOS 7
Install kuromoji on CentOS7
Use bat on Centos.
Jetty v8 on CentOS7
OpenJDK installation on CentOS 7
Install Mattermost on CentOS 7
Install PostGIS 2.5.5 on CentOS7
Install jpndistrict on CentOS 7
Install Redmine 4.1.1 on CentOS 7
Smokeping Install on CentOS7
Install PostgreSQL 13 on CentOS 7.5