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!

    The SSL connection could not be established, see inner exception.

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 9 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.
    • J Offline
      jeff.williams_1864
      last edited by

      I have deployed ProGet on my OpenShift cluster and set up my feeds. It seems pypi works very well, but when I try to search maven and NuGet for packages, I get "The SSL connection could not be established, see inner exception.". When I try to curl the repo url's from my container, I get varied results, but mostly I am seeing things like this:

      "* TLSv1.3 (OUT), TLS alert, unknown CA (560):

      • SSL certificate problem: self-signed certificate in certificate chain
      • Closing connection 0
        curl: (60) SSL certificate problem: self-signed certificate in certificate chain
        More details here: https://curl.se/docs/sslcerts.html

      curl failed to verify the legitimacy of the server and therefore could not
      establish a secure connection to it. To learn more about this situation and
      how to fix it, please visit the web page mentioned above."

      I have created a configMap of my trusted ca bundle and mounted to /etc/pki/ca-trust/extracted/pem on the pod via a volumeMount.

      Is there a specific way to tell my pod to use the trusted ca bundle I have mounted to the pod as a volume?

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @jeff.williams_1864
        last edited by

        Hi @jeff-williams_1864 ,

        I'm not quite sure why nuget.org would report using a self-singed certificate? That seems off, but it sounds like you're doing "something" with regards to certificates that I don't quite understand :)

        On that note, the /usr/local/share/ca-certificates volume store the certificates to be included in the container's certificate authority, which is used when connecting to a server with self-signed certificates: https://docs.inedo.com/docs/installation/linux/docker-guide#supported-volumes

        Hope that helps,

        Alana

        1 Reply Last reply Reply Quote 0

        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