Error curl error 60 ssl peer certificate or ssh remote key was not ok. Create a Certificate Create the two cert files: cert1.
Error curl error 60 ssl peer certificate or ssh remote key was not ok With a single set of credentials, users can seamlessly navigate all AlmaLinux websites and services. crt and cert2. Jun 22, 2023 · Introducing our Single Sign-On (SSO) system offers numerous benefits for both users and the AlmaLinux OS Foundation. SSO enhances security, streamlines access, and simplifies user management across our ecosystem. Dec 6, 2017 · I am behind a corporate proxy, and it seems this error is related to SSL certificate and curl, but I don't know how to fix it. This unified login experience ultimately boosts productivity, fosters Mar 3, 2021 · Change your DNS, enable DoT, or utilize a VPN if the problem persists. UPDATE: This is the code I'm using in my cURL request, I have commented 2 lines and changes their value (look at 'TODO' line ) and in this way it is working, however this is just a work arround Oct 17, 2025 · To troubleshoot the curl: (60) SSL certificate problem, it’s a good idea to enable verbose logging in curl. SetSSLVerifyHost (false) ! do not verify host name… Discover solutions for the common error: SSL peer certificate or SSH remote key was not ok. 04 to 24. Learn more! (ssl peer certificate or ssh remote key was not ok) Mar 21, 2025 · CURLerror 'SSL peer certificate or SSH remote key was not OK' using ODBC driver connection to Snowflake from PowerBI desktop CURL SSL errors pop up when using ODBC driver to connect to Snowflake and reading large amounts of data. 9 was: Discover solutions for the common error: SSL peer certificate or SSH remote key was not ok. xml [SSL Dec 2, 2023 · #!/bin/bash # Step 1: Update system crypto policies to a less strict setting # This will allow for weaker certificates temporarily until the issue is resolved sudo update-crypto-policies --set DEFAULT # Step 2: Clear the dnf cache to ensure we're not using old metadata sudo dnf clean all # Step 3: Try updating again sudo dnf update # If the above doesn't work, we might need to disable SSL Nov 10, 2015 · That is important information, especially given that the error is "SSL peer certificate or SSH remote key was not OK". Improve your server security and avoid connectivity issues with our expert tips. I think you are attempting SFTP, which is part of SSH, not to be confused with FTPS. Jan 19, 2024 · Curl error (60): SSL peer certificate or SSH remote key was not OK for https://packagecloud. It is either a problem with the name or the server certificate (or an intermediate cert) was not signed by a CA present in the CA store. 04, everything seems fine except cURL which returns an error: curl: (60) SSL peer certificate or SSH remote key was not OK More details here: ht Jun 10, 2023 · If you are getting this error, it means that cURL is not able to verify the SSL certificate of the website you are trying to connect to. Jan 7, 2013 · SSL peer certificate or SSH remote key was not OK I'm not very experienced with SSL so I have few ideas about the cause of that. Yum fails with curl error (60): SSL peer certificate or SSH remote key was not OK Solution Verified - Updated October 28 2025 at 11:10 AM - English Oct 5, 2024 · I just updated a web server from Ubuntu 22. This comprehensive guide covers troubleshooting steps, potential causes, and best practices to ensure secure connections. Jul 31, 2020 · How do I fix SSL peer certificate or SSH remote key was not okay? The reason you are not getting the right SSL certificate or SSH remote key is due to one of the following issues: You have a firewall or proxy in place which is interrupting your connection to the license server. This is seen with tools like PowerBI . Create a Certificate Create the two cert files: cert1. What is SSL peer certificate? Apr 23, 2015 · This issue comes when remote servers ssl cannot be verified using root certificates in your system's certificate store or remote ssl is not installed along with chain certificates. Please try allowing these ports in your settings: 80 and 443. Solution To fix this issue, you must either manually create the certificate files, and place them in the appropriate location on the host asset OR copy from a working system and download onto the impacted host system. Also, I get a similar error when I use curl or wget to download the HTTPS URL. This can happen for a number of reasons. Mar 28, 2023 · Resolve SSL peer certificate & SSH remote key issues with our step-by-step troubleshooting guide. Aug 8, 2024 · I’m using Mike Duglas’ LibCurl to post some data to a website and getting the “SSL peer certificate or SSH remote key was not OK” response, howver I am setting … curl. io/whitewaterfoundry/fedoraremix/fedora/38/x86_64/repodata/repomd. Secure your connections & avoid errors. . Aug 1, 2024 · if curl returns CURLE_PEER_FAILED_VERIFICATION there is something wrong in the server cert. crt. Since we don't know your server, your host name, your cert or your CA store, I cannot think of anything more we can do for you here. Verbose logging provides more details about the request and response, which can help identify the cause of the problem. Sep 23, 2013 · After attempting all of the above solutions to eliminate the "curl: (60) SSL certificate problem: unable to get local issuer certificate" error, the solution that finally worked for me on OSX 10. uetmfzrbzogkrpfvtagtyrugjldnpdwouwhlqnrmqfrtksugiahhhzcsbehosrjtppkjv