VAMI backup fails on vCenter Server Appliance 8.0.3 with error: curl: (64) Requested SSL level failed
search cancel

VAMI backup fails on vCenter Server Appliance 8.0.3 with error: curl: (64) Requested SSL level failed

book

Article ID: 432300

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

  • On VMware vCenter Server Appliance (VCSA) 8.0.3, VAMI-based backups may fail. You may observe the following:
    • Backup jobs initiated from the VAMI fail.

    • The backup process is unable to complete the database backup.

    • The remote backup connection fails during SSL/TLS negotiation.

  • The following messages may be seen in /var/log/vmware/applmgmt/applmgmt.log:
YYYY-MM-DDTHH:MM:SS.278 [YYYYMMDD-134454-24853646] [MainProcess:PID-2156###] [FtpStorageIOLib::_process_curl_output:FtpStorageIOLib.py:149] ERROR: ftps cmd failed. RC: 64, Err: curl: (64) Requested SSL level failed, Cmd: ['/usr/bin/curl', '--fail', '-u', '<username>:****', '--connect-timeout', '120', '--ssl-reqd', '-k', '--noproxy', '*', '--silent', '--show-error', 'ftp://<backup_server>.example.com:990/appliancebackup/<folder_name>/vCenter/sn_<backup_server>.example.com/M_8.0.3.00600_YYYYMMDD-134454_/']
YYYY-MM-DDTHH:MM:SS.278 [YYYYMMDD-134454-24853646] [MainProcess:PID-2156###] [BackupManager::Cleanup:BackupManager.py:449] WARNING: Ignore to clean up failed backup files, due to issue: 'Plugin error occurred. ErrCode: 5, Args: ()'.

Environment

VMware vCenter 8.x

Cause

  • This issue occurs due to an FTPS negotiation failure between the vCenter Server Appliance and the remote backup server. When the backup job is configured to use FTPS, the appliance attempts to establish a secure SSL/TLS session with the destination server. If the remote server cannot successfully complete the TLS handshake, the backup fails. This can happen for reasons such as:
    • A protocol mismatch between the VCSA and the remote FTPS server

    • Unsupported TLS versions on the remote server

    • Expired or invalid SSL certificates on the remote server

    • Remote server configuration that does not properly support the requested encrypted session

  • The error below indicates that the appliance requested an encrypted session, but the remote server could not complete it:
curl: (64) Requested SSL level failed

Resolution

Option 1: Change the backup protocol from FTPS to FTP

  1. Log in to the VAMI:
    https://<vCenter-IP>:5480

  2. Navigate to Backup > Configure.

  3. Edit the backup location settings.

  4. Change the protocol from FTPS to FTP.

  5. Save the configuration and run the backup again.

Option 2: Correct the FTPS configuration on the remote backup server

If FTPS must be used, verify and update the remote FTP server configuration to ensure it supports secure connections from vCenter Server Appliance.

Check the following on the remote server:

  • SSL certificates are valid and not expired

  • TLS 1.2 or TLS 1.3 is supported

  • FTPS service is correctly configured for secure client negotiation