Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

"Download failed" error message when attempting to download updates for VCSA 6.5 (79552)

Last Updated: 4/21/2021Categories: TroubleshootingTotal Views: 13351Language:
English

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

In vCenter Server Appliance (VCSA) 6.5 versions (vsphere65p05 and later), When connecting to Online Repository to download and apply a patch, if VCSA cannot verify repository URL it will display a download error on the VAMI UI.

You can confirm this in /var/log/vmware/applmgmt/software-packages.log. Sample log snippet is as below,

<YYYY-MM-DD>T12:21:41.063 [43512]ERROR:vmware.vherd.base.software_update:Unable to connect to url ftps://<REPOSITORY SERVER IP Address/FQDN>/dj/manifest/manifest-latest.xml. Please use wget-security options in /etc/applmgmt/appliance/update.conf
<YYYY-MM-DD>T12:21:41.063 [43512]DEBUG:vmware.vherd.base.software_update:Failure:
out=
error=--<YYYY-MM-DD> 12:21:41--  ftps://<REPOSITORY SERVER IP Address/FQDN>/dj/manifest/manifest-latest.xml
=> ‘/storage/core/software-packages/manifest-latest.xml’
Connecting to <REPOSITORY SERVER IP Address/FQDN>:21... connected.
==> AUTH TLS ... ERROR: cannot verify <REPOSITORY SERVER IP Address/FQDN>'s certificate, issued by ‘emailAddress=<EmailAddress>,CN=<REPOSITORY SERVER IP Address/FQDN>,OU=<Org Unit>,O=<Company>,L=<City>,ST=<State>,C=<Country code>’:
Self-signed certificate encountered.
To connect to <REPOSITORY SERVER IP Address/FQDN> insecurely, use '--no-check-certificate'.

rc=-6

<YYYY-MM-DD>T12:21:41.063 [43512]ERROR:vmware.vherd.base.software_update:Download failed, please check the URL and the network connection.

Cause

The error message indicates that VCSA is unable to verify the CA certificate from the Repository server. This behaviour change is based on the security recommendation to stop using "--no-check-certificate" option.

Resolution

To resolve this issue, you can add the certificate from the repository to vCenter as trusted. The cert will be located at the URL displayed in the log, and that URL will vary depending on the specific repository location. Check this message per the above:

Connecting to <REPOSITORY SERVER IP Address/FQDN>:21... connected.

Go to this URL in your web browser and export the certificate in base64 format. Save as a .cer file with a name of your choosing such as repository.cer.

Then, choose one of the following options to import:

Resolution 1 - Add the trusted root certificate to the certificate repository

For the steps to add a trusted root certificate to the Trusted Roots store, see the Add a Trusted Root Certificate to the Certificate Store in the vSphere 6.5 Product Documentation.

Resolution 2 - Upload a repository server certificate

Upload a repository server certificate to /etc/applmgmt/appliance/patching_def.crt using these steps:

Connect to your vCenter Server Appliance (VCSA) using SSH

Create the file /etc/applmgmt/appliance/patching_def.crt using the command vi /etc/applmgmt/appliance/patching_def.crt

Copy the repository server certificate to this file

Save the file

Retry the updates

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

Related Versions:

VMware vSphere ESXi 6.5

Take Our Survey

Support Assistant