# Usage of v-update-host-certificate

**URL:** <https://forum.hestiacp.com/t/usage-of-v-update-host-certificate/65>\
**Category:** Community Support\
**Created:** [June 7, 2019, 6:02pm UTC](https://forum.hestiacp.com/t/usage-of-v-update-host-certificate/65 "2019-06-07T18:02:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Felix](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/felix/32/32_2.png) [@Felix](https://forum.hestiacp.com/u/Felix)\
**Post date:** [June 7, 2019, 6:02pm UTC](https://forum.hestiacp.com/t/usage-of-v-update-host-certificate/65/1 "2019-06-07T18:02:40Z")

</div>

Hello community.

I understand that the command `v-update-host-certificate`, when run, will set a specific SSL certificate (defined by command line arguments) to the daemons exim, dovecot, ftp and hestia. What I would like to know is, if that command will be run automatically when the certificate is renewed.

I see on [VESTA Forum](https://forum.vestacp.com/viewtopic.php?t=17353), that if we would like to auto update the daemons with the updated certificate, we need to also do the following once:

```auto
echo "UPDATE_HOSTNAME_SSL='yes'" >> /usr/local/vesta/conf/vesta.conf

```

Does this apply to HESTIA too? (changing the path of course to /usr/local/hestia/conf/hestia.conf ).

---

<div class="post-metadata">

**Author:** ![Raphael](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/raphael/32/5217_2.png) [@Raphael](https://forum.hestiacp.com/u/Raphael)\
**Post date:** [June 7, 2019, 6:14pm UTC](https://forum.hestiacp.com/t/usage-of-v-update-host-certificate/65/2 "2019-06-07T18:14:28Z")

</div>

Hi felix, yes, you can use the same commands, just change it to hestia.conf and it will work out of the box - including renew.
