Troubleshooting the certification update process
In case any error occurs during the execution of the cert_refresh.sh script, you can use the following actions to troubleshoot the certification update.
You can view the logs of the execution script at
/var/log/ccmv2_cert_refresh.log.
Restoring certificates from backup
- Access the cluster node using SSH.
- List the available
backups:
./cert_refresh.sh list-backups - Restore a specific
backup:
cp /etc/jumpgate/backup/config.toml.backup.YYYYMMDD_HHMMSS /etc/jumpgate/config.toml chown root:jumpgate /etc/jumpgate/config.toml chmod 640 /etc/jumpgate/config.toml systemctl restart jumpgate-agent.service
Manual Certificate Update
- Backup the current configuration
file:
cp /etc/jumpgate/config.toml /etc/jumpgate/config.toml.backup.manual - Edit the configuration
file:
nano /etc/jumpgate/config.toml - Update
relayServerCertificatefield:# relayServerCertificate = """ # [***PASTE THE CERTIFICATION CONTENT HERE***] # """ - Restart the
service:
systemctl restart jumpgate-agent.service - Verify the service
status:
systemctl status jumpgate-agent.service #OR jumpgate-agent status
