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

VMware Update Manager download service fails to download files from HTTPS repositories (53059)

Last Updated: 12/17/2018Categories: TroubleshootingTotal Views: 12152Language:
Chinese (Simplified)JapaneseEnglish

1 like this article

Subscribe to get an email
newsletter with new updates

1 people found this helpful Please provide article feedback:

Symptoms

when using UMDS 6.5 to download patches within RedHat Linux Enterprise Linux system (RHEL), UMDS is unable to download from the VMware online depots over HTTPS repositories.

When attempting to download updates with Update Manager Download Service 6.5 on a RHEL 7.x system, you see a message similar to:

[root@umds ~]# /usr/local/vmware-umds/bin/vmware-umds -D
INFO -izing connection pool
INFO - ed to DSN OK
INFO - ring sequences
INFO - ing database version
Startingdownload of updates ...
INFO - ng download job {140674137613632}, url=https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
ERROR - y_perform() failed: cURL Error: Peer certificate cannot be authenticated with given CA certificates, SSL certificate problem: unable to get local issuer certificate
ERROR - g download job {140674137613632} throwserror: curl_easy_perform() failed: cURL Error: Peer certificate cannot be authenticated with given CA certificates, SSL certificate problem: unable to get local issuer certificate
INFO - d failed but destination file /tmp/vcinO6QQA exists and is valid. Ignoring error
INFO - d job {140674137613632} finished, bytes downloaded = 0

In /var/log/vmware/vmware-updatemgr/umds/vmware-downloadService-log4cpp.log, you see entries similar to:

2017-06-08 06:17:44:473 'DownloadMgr' 140675026552576 INFO] [downloadMgr, 601] Executing download job {140674137613632}, url=https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
[2017-06-08 06:17:44:474 'httpDownload' 140675026552576 DEBUG] [httpDownloadPosix, 354] GetEasy() needs to allocate new CURL
[2017-06-08 06:17:44:548 'httpDownload' 140675026552576 DEBUG] [httpDownloadPosix, 167] * Trying 2001:559:19:988f::2ef...
[2017-06-08 06:17:44:548 'httpDownload' 140675026552576 DEBUG] [httpDownloadPosix, 167] * Immediate connect fail for 2001:559:19:988f::2ef: Network is unreachable
[2017-06-08 06:17:44:548 'httpDownload' 140675026552576 DEBUG] [httpDownloadPosix, 167] * Trying 2001:559:19:9884::2ef...
[2017-06-08 06:17:44:548 'httpDownload' 140675026552576 DEBUG] [httpDownloadPosix, 167] * Immediate connect fail for 2001:559:19:9884::2ef:
Network is unreachable
[2017-06-08 06:17:44:548 'httpDownload' 140675026552576 DEBUG] [httpDownloadPosix, 167] * Trying 184.25.207.49...
[2017-06-08 06:17:44:562 'httpDownload' 140675026552576 DEBUG] [httpDownloadPosix, 167] * Connected to hostupdate.vmware.com (184.25.207.49) port 443 (#0)
[2017-06-08 06:17:44:563 'httpDownload' 140675026552576 DEBUG] [httpDownloadPosix, 167] * ALPN, offering http/1.1
[2017-06-08 06:17:44:563 'httpDownload' 140675026552576 DEBUG] [httpDownloadPosix, 167] * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
[2017-06-08 06:17:44:563 'httpDownload' 140675026552576 DEBUG] [httpDownloadPosix, 167] * successfully set certificate verify locations:
[2017-06-08 06:17:44:563 'httpDownload' 140675026552576 DEBUG] [httpDownloadPosix, 167] * CAfile: none
[2017-06-08 06:17:44:563 'httpDownload' 140675026552576 DEBUG] [httpDownloadPosix, 167] CApath: /etc/ssl/certs
[2017-06-08 06:17:44:584 'httpDownload' 140675026552576 DEBUG] [httpDownloadPosix, 167] * SSL certificate problem: unable to get local issuer certificate
[2017-06-08 06:17:44:584 'httpDownload' 140675026552576 DEBUG] [httpDownloadPosix, 167] * Closing connection 0
[2017-06-08 06:17:44:584 'httpDownload' 140675026552576 ERROR] [httpDownloadPosix, 606] curl_easy_perform() failed: cURL Error: Peer certificate cannot be authenticated with given CA certificates, SSL certificate problem: unable to get local issuer certificate
[2017-06-08 06:17:44:585 'DownloadMgr' 140675026552576 ERROR] [downloadMgr, 627] Executing download job {140674137613632} throws error: curl_easy_perform() failed: cURL Error: Peer certificate cannot be authenticated with given CA certificates, SSL certificate problem: unable to get local issuer certificate

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Running curl manually against the reported URL pulls down the XML file without issue.

Adding the Intermediate CA and Root CA certificates to /etc/ssl/certs results in no change in behavior.

Cause

The issue is caused when  CA certificates are stored in different places in different operation systems. UMDS source code uses a way to find out CA certificates for Ubuntu rather than RHEL.

Resolution

This issue is resolved in vCenter Server 6.5 U2, available at VMware Downloads.

Workaround

To workaround this issue:

Option 1

Open downloadConfig.xml file from /usr/local/vmware-umds/bin.

Update the urls from https to http in HostConfig.

Option 2

Replace the included libcurl.so.4 library module with a symbolic link pointing to the one currently on the system.

$ mv /usr/local/vmware-umds/lib/libcurl.so.4 /usr/local/vmware-umds/lib/libcurl.so.4.backup
$ ln -s /usr/lib64/libcurl.so.4 /usr/local/vmware-umds/lib/libcurl.so.4

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

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

Result 1 of 1

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

Related Versions:

Take Our Survey

Support Assistant