Site.com have ssl, site.com:8083 no ssl

in vesta i can select ssl from domain and all ok
in hestiacp no select posible
why?
for fix i need manual paste ssl panel from site.com?

https://docs.hestiacp.com/admin_docs/ssl_certificates.html

[email protected]:~$ v-change-sys-hostname
bash: v-change-sys-hostname: command not found
[email protected]:~$ v-add-letsencrypt-host
bash: v-add-letsencrypt-host: command not found

now ssl selfsigned Hestia Control Panel, need shange

https://forum.hestiacp.com/search?context=topic&context_id=3172&q=command%20not%20found&skip_context=true

[email protected]:/usr/local/hestia# v-update-host-certificate admin server.ru

/usr/local/hestia/bin/v-update-host-certificate: строка 27: /func/main.sh: no file
/usr/local/hestia/bin/v-update-host-certificate: строка 28: /func/ip.sh: no file
/usr/local/hestia/bin/v-update-host-certificate: строка 29: /conf/hestia.conf: no file
/usr/local/hestia/bin/v-update-host-certificate: строка 36: check_args: command not found
/usr/local/hestia/bin/v-update-host-certificate: строка 37: is_format_valid: command not found
/usr/local/hestia/bin/v-update-host-certificate: строка 38: is_system_enabled: command not found
/usr/local/hestia/bin/v-update-host-certificate: строка 39: is_system_enabled: command not found
/usr/local/hestia/bin/v-update-host-certificate: строка 40: is_object_valid: command not found
/usr/local/hestia/bin/v-update-host-certificate: строка 41: is_object_unsuspended: command not found
/usr/local/hestia/bin/v-update-host-certificate: строка 42: is_object_valid: command not found
/usr/local/hestia/bin/v-update-host-certificate: строка 43: is_object_unsuspended: command not found
Error: domain server.ru does not have an SSL certificate.

[email protected]:/usr/local/hestia# ls

bin conf data func install log nginx php ssl web
[email protected]:/usr/local/hestia#

server.ru HAVE SSL!
bash.rc

PATH=$PATH:/usr/local/hestia/bin/
if [ “${PATH#/usr/local/hestia/bin}” = “$PATH” ]; then
. /etc/profile.d/hestia.sh
fi

изображение
nned change Hestia Control Panel to Let’s Encrypt

in vesta is 1 secs to change
изображение

Trigger the command like suggested with full path or logout&login after changes to bash.rc…

Also you just need to follow the docs and run v-add-letsencrypt-host, no other command is needed.

SOLVED:

edit v-update-host-certificate and you see $HESTIA is variable of path not $PATH
add /root/.bashrc

#PATH=$PATH:/bin/ !!WRONG
PATH=$HESTIA:/usr/local/hestia/:/bin/:/usr/bin/:/sbin/:/usr/sbin/ #IS RIGHT!

if [ “${PATH#/usr/local/hestia/bin}” = “$PATH” ]; then
. /etc/profile.d/hestia.sh
fi

. ~/.bashrc

v-change-sys-hostname server.ru
v-add-letsencrypt-host

check the content of

It should add the path properly.

1 Like