9 Replies Latest reply on Dec 10, 2014 10:07 AM by Angel Garcia Esteban

    Patch Downloader - Red Hat patches - Windows App Server - Downloader Failed

    Iain Elrick

      Hello,

       

      Hoping someone might know what is going on here...

       

      I'm trying to use the latest Patch Downloader (8.5.01.r240), which I understand should be backwards compatible, to download Red Hat patch data in-order to update our YUM server, as native functionality has failed since the update by Red Hat. This is on the 8.0 platform (8.0.7.739), being run from a Windows App Server.

       

      The special instructions have been followed, the Red Hat certificate added and the App Server services restarted.

       

      The errata data in the XML file has been verified (was a typo, reported by the tool and then resolved), as have the RHN credentials I am using (via web browser login). The system uses a proxy server to connect to the internet and these details have been verified via web browser configuration.

       

      I read in an old post that where no proxy authentication details are being used that there was a previous issue where the password field needed a space character added from a blank (no) password. I have tried this but unfortunately without result.

       

      The following error is produced:

       

      Initializing

      Downloader failed with errors: Error while updating feed: Error occurred while logging to RHN. (Caused By: Error occurred while connecting to url: https://idp.r

      edhat.com/idp/authUser. Please verify Internet connectivity and if you have provided Proxy then verify your Proxy settings (Caused By: sun.security.validator.Va

      lidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested ta

      rget (Caused By: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested tar

      get (Caused By: unable to find valid certification path to requested target)))) --- Cause:

       

       

       

       

      ======================= Download Result ================================

       

       

               RPMs downloaded         - 0

               RPMs download skipped   - 0

               RPMs download failed    - 0

               Erratas downloaded       - 0

       

       

       

       

      ========================================================================

       

      The command is being run as below:

       

      redhat_downloader.bat -configFile redhat-downloader-config.xml -rhnUser [REDACTED] -rhnPass [REDACTED]

       

      The XML file content is as below:

       

      <!--

           Please categorize the erratype/errata ID/update level filter as per one of the valid OS, Architecture values.

           Valid values for OS are RHES3, RHES4, RHES5, RHES6, RHAS3, RHAS4,

           Valid values for Architecture are s390x, x86 and x86_64

         

           Please use downloader command with -listChannel option

           to know applicable OS and Architecture.

         

           Expect Redhat Analysis to fail if OS Arch values are not from the above valid set of values.

           User is responsible for selecting correct combination of OS Arch, downloader will

           not validate it.

      -->

       

       

      <redhat-downloader-config>

          <config>

        <proxy-settings>

        <port>[REDACTED]</port>

        <host>[REDACTED]</host>

        <username></username>

        <password></password>

        <domain-name></domain-name>

        <proxy-type>ntlm-v2</proxy-type>

        </proxy-settings>

        <temporary-location>c:\tmp\offlinedownloader\tmp</temporary-location>

        <payload-repository-location>c:\tmp\offlinedownloader\payload</payload-repository-location>

        <!-- The default value for download-request-retries will be 10 if no value is specified -->

        <download-request-retries>10</download-request-retries>

        <download-request-timeout>180000</download-request-timeout>

        <downloader-parallel-threads>10</downloader-parallel-threads>

          </config>

       

       

          <subscription>

        <errata-type-filter>

        <os>RHES5</os>

        <arch>x86</arch>

        <channel-label>rhel-i386-server-5</channel-label>

        <errata-severity>

        <critical>true</critical>

        <high>true</high>

        <moderate>true</moderate>

        <low>true</low>

        </errata-severity>

        <errata-type>

        <security>true</security>

        <bugfix>true</bugfix>

        <enhancement>true</enhancement>

        </errata-type>

        </errata-type-filter>

       

        <errata-type-filter>

        <os>RHES5</os>

        <arch>x86_64</arch>

        <channel-label>rhel-x86_64-server-5</channel-label>

        <errata-severity>

        <critical>true</critical>

        <high>true</high>

        <moderate>true</moderate>

        <low>true</low>

        </errata-severity>

        <errata-type>

        <security>true</security>

        <bugfix>true</bugfix>

        <enhancement>true</enhancement>

        </errata-type>

        </errata-type-filter>

       

        <errata-type-filter>

        <os>RHES4</os>

        <arch>x86</arch>

        <channel-label>rhel-i386-es-4</channel-label>

        <errata-severity>

        <critical>true</critical>

        <high>true</high>

        <moderate>true</moderate>

        <low>true</low>

        </errata-severity>

        <errata-type>

        <security>true</security>

        <bugfix>true</bugfix>

        <enhancement>true</enhancement>

        </errata-type>

        </errata-type-filter>

       

        <errata-type-filter>

        <os>RHES4</os>

        <arch>x86_64</arch>

        <channel-label>rhel-x86_64-es-4</channel-label>

        <errata-severity>

        <critical>true</critical>

        <high>true</high>

        <moderate>true</moderate>

        <low>true</low>

        </errata-severity>

        <errata-type>

        <security>true</security>

        <bugfix>true</bugfix>

        <enhancement>true</enhancement>

        </errata-type>

        </errata-type-filter>

       

        <errata-type-filter>

        <os>RHAS4</os>

        <arch>x86_64</arch>

        <channel-label>rhel-x86_64-as-4</channel-label>

        <errata-severity>

        <critical>true</critical>

        <high>true</high>

        <moderate>true</moderate>

        <low>true</low>

        </errata-severity>

        <errata-type>

        <security>true</security>

        <bugfix>true</bugfix>

        <enhancement>true</enhancement>

        </errata-type>

        </errata-type-filter>

       

        <errata-type-filter>

        <os>RHAS4</os>

        <arch>x86</arch>

        <channel-label>rhel-i386-as-4</channel-label>

        <errata-severity>

        <critical>true</critical>

        <high>true</high>

        <moderate>true</moderate>

        <low>true</low>

        </errata-severity>

        <errata-type>

        <security>true</security>

        <bugfix>true</bugfix>

        <enhancement>true</enhancement>

        </errata-type>

        </errata-type-filter>

       

        <!--

        <errata-ids-filter>

        <os>RHAS4</os>

        <arch>x86</arch>

        <channel-label>rhel-i386-as-4</channel-label>

        <errata-ids>

        <errata-id>RHSA-2009:0429</errata-id>

        <errata-id>RHSA-2009:0430</errata-id>

        <errata-id>RHEA-2009:0422</errata-id>

        <errata-id>RHBA-2009:0407</errata-id>

        <errata-id>RHSA-2009:0397</errata-id>

        <errata-id>RHBA-2009:0388</errata-id>

        </errata-ids>

          </errata-ids-filter>

        -->

        <!-- This filter should be used only if the downloader is executed on a Linux machine -->

        <!-- This filter should not be used if the downloader is executed on a Windows machine -->

        <!--

        <update-level-filter>

        <os>RHAS4</os>

        <arch>x86_64</arch>

        <channel-label>rhel-x86_64-as-4</channel-label>

        <update-level>5</update-level>

        </update-level-filter>

        -->

       

          </subscription>

      </redhat-downloader-config>