How to renew the vshost.crt self signed certificate on VOS?


This article explains the behavior of Director-to-VOS communication when the VOS certificate expires and provides steps to manually update the certificate without requiring a VOS upgrade. 

Behavior with Expired Certificates

Automatic Certificate Renewal

Manual Certificate Update Without Upgrade

If you prefer not to upgrade the VOS and need to refresh the VOS certificate manually, follow the steps below:


1. Copy the attached script to /var/tmp

2. Change permissions using chmod 777 gencerts.sh
3. Run the script using sudo ./gencerts.sh
4. Check the certificate validity using "openssl x509 -startdate -enddate -noout -in /opt/versa/var/cert/vshost.crt"

#Sample