Более подробно тут
1. Устанавливаем утилиту для выпуска сертмфиката:
1 2 3 |
$ sudo yum install python2-certbot-apache |
Для CentOS6 надо проверить установлен ли Python3. Если нет, то делаем так (и далее не certbot, а certbot-auto):
1 2 3 4 5 6 7 8 9 10 |
# yum install epel-release # yum --disablerepo="*" --enablerepo="epel" info python3* # yum --disablerepo="*" --enablerepo="epel" install python34 # wget https://dl.eff.org/certbot-auto # chmod a+x certbot-auto # ./path/to/certbot-auto --apache certonly # ./path/to/certbot-auto renew --dry-run # ./path/to/certbot-auto renew |
2. Делаем сертификат:
1 2 3 |
$ sudo certbot --apache certonly |