Restoring certificates from backup

Restore certificates from an existing backup.

  1. Access the cluster node using SSH.
  2. List the available backups.
    ./cert_refresh.sh list-backups
  3. 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