Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    RPM connector for RHEL packages cannot connect

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 7 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      HCL_tech
      last edited by

      Hi,

      We are setting up Proget and are facing issues when setting up a RPM feed for RHEL. Most of our servers are running RHEL 8 or 9.

      Proget version : 26.0.17 (docker installation)
      Host : RHEL 9.8

      We created a feed for the baseos packages and you'll find below the configuration of the connector.
      eaa7805f-fca7-4f68-9d69-025696bfbf30-image.jpeg

      This is the output of the error.

      Local index file update failure: The SSL connection could not be established, see inner exception.
      
      System.Net.WebException: The SSL connection could not be established, see inner exception.
       ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
       ---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
         at System.Net.Security.SslStream.SendAuthResetSignal(ReadOnlySpan`1 alert, ExceptionDispatchInfo exception)
         at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
         at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
         at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem)
         at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
         at System.Net.Http.AuthenticationHelper.SendWithAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean preAuthenticate, Boolean isProxyAuth, Boolean doRequestAuth, HttpConnectionPool pool, CancellationToken cancellationToken)
         at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.SocketsHttpHandler.<SendAsync>g__CreateHandlerAndSendAsync|118_0(HttpRequestMessage request, CancellationToken cancellationToken)
         at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
         at System.Net.HttpWebRequest.HandleResponse(Boolean async)
         at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
         --- End of inner exception stack trace ---
         at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
         at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
      --- End of stack trace from previous location ---
         at System.Net.WebRequest.GetResponseAsync()
         at Inedo.ProGet.GlobalExtensions.GetResponseAsync(HttpWebRequest request, CancellationToken cancellationToken) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E658840\Src\src\ProGet\GlobalExtensions.cs:line 36
         at Inedo.ProGet.Feeds.Connector.GetDirectResponseAsync(String url, CancellationToken cancellationToken) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E658840\Src\src\ProGet\Feeds\Connector.cs:line 524
         at Inedo.ProGet.Feeds.Connector.GetCachedResponseAsync(String url, CancellationToken cancellationToken) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E658840\Src\src\ProGet\Feeds\Connector.cs:line 374
         at Inedo.ProGet.Feeds.Connector.GetCachedTextReaderAsync(String url, Boolean bufferEntireResponse, CancellationToken cancellationToken) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E658840\Src\src\ProGet\Feeds\Connector.cs:line 415
         at Inedo.ProGet.Feeds.Rpm.RpmConnector.UpdateIndexAsync(RpmConnectorIndex localIndex) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E658840\Src\src\ProGet\Feeds\Rpm\RpmConnector.cs:line 47
         at Inedo.ProGet.Feeds.Rpm.RpmConnector.GetAndUpdateIndexAsync() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E658840\Src\src\ProGet\Feeds\Rpm\RpmConnector.cs:line 146
         at Inedo.ProGet.Feeds.Rpm.RpmConnector.Inedo.ProGet.Feeds.ILocalIndexFileConnector.UpdateIndexAsync(CancellationToken cancellationToken) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E658840\Src\src\ProGet\Feeds\Rpm\RpmConnector.cs:line 187
         at Inedo.ProGet.Feeds.CachedIndexFileMan.UpdateConnectorIndexAsync(Int32 connectorId, CancellationToken cancellationToken) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E658840\Src\src\ProGet\Feeds\CachedIndexFileMan.cs:line 53
      
      ::Connector Error on 12/01/2026 17:04:59::
      

      RHEL systems need a certificate and a key to grab their packages. We've added the redhat-uep.pem, the cert and key of the host running the dockerized proget stack in the /usr/local/share/ca-certificates volume but to no avail.

      Your documentation only shows RPM for centos.
      Is there something we missed?

      Kind regards

      atrippA 1 Reply Last reply Reply Quote
      • atrippA Offline
        atripp inedo-engineer @HCL_tech
        last edited by

        Hi @hcl_tech ,

        Thanks for providing all of the details.

        I looked into this some more -- and it seems that Red Hat's official RPM repositories require client certificate authentication? However, ProGet's rpm connectors currently only support Basic Authentication.

        I didn't realize it myself, but the /usr/local/share/ca-certificates volume is used to establish trust with remote servers and does not configure client certificates for outbound connections. However, ProGet still needs to be able to authenticate with Red Hat's CDN using the entitlement certificate and private key.

        So unfortunately at this time, connecting directly to certificate-authenticated RHEL repositories are not supported. That's something we could look to add via a feature request, it's probably not all that challenging if we had the certificates to test with.

        Thanks,
        Alana

        H 1 Reply Last reply Reply Quote
        • H Offline
          HCL_tech @atripp
          last edited by

          Hi @atripp
          Thank you for looking in the matter.
          I don't know if there's an alternate way to authenticate to REDHAT repos, i'll have to search if there is documentation for a basic auth but I don't think it's possible.

          1 Reply Last reply Reply Quote

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation