HestiaCP - Ubuntu 16.04 - не выпускается SSL Let's Encrypt - ошибка Error: Let's Encrypt new auth status

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск

Доступная цена

HestiaCP - Ubuntu 16.04 - не выпускается SSL Let's Encrypt - ошибка Error: Let's Encrypt new auth status

На Ubuntu 16.04 стоит старая версия CURL утилиты 7.47.0, поэтому может возникать ошибка на новой версии панели:

 Error: Let's Encrypt new auth status

или через консоль такая ошибка

# v-add-letsencrypt-domain admin site.agency www.site.agency
curl: option --retry-connrefused: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
Error: Let's Encrypt new auth status

Поэтому решения два:
1) Убрать --retry-connrefused опцию из скрипта:

# vi /usr/local/hestia/bin/v-add-letsencrypt-domain

меняем строку

    curl --location --insecure --retry 5 --retry-connrefused --silent --dump-header /dev/stdout --data "$post_data" "$1" --header "$content" --output "$save_to_file"

на

    curl --location --insecure --retry 5 --silent --dump-header /dev/stdout --data "$post_data" "$1" --header "$content" --output "$save_to_file"

и повторяем выпуск SSL Let's Encrypt сертификата через HestiaCP.
2) Скомпилировать CURL до последней версии:

https://iphwiki.net/wiki/Curl_-_option_--retry-connrefused:_is_unknown_или_как_скомпилировать_новую_версию_CURL
Индекс цитирования