SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

I ran into a similar problem when trying to use the JQuery generator for Rails 3 I solved it like this: Get the CURL Certificate Authority (CA) bundle. You can do this with: sudo port install curl-ca-bundle [if you are using MacPorts] or just pull it down directly wget http://curl.haxx.se/ca/cacert.pem Execute the ruby code that … Read more

Trust Store vs Key Store – creating with keytool

The terminology is a bit confusing indeed, but both javax.net.ssl.keyStore and javax.net.ssl.trustStore are used to specify which keystores to use, for two different purposes. Keystores come in various formats and are not even necessarily files (see this question), and keytool is just a tool to perform various operations on them (import/export/list/…). The javax.net.ssl.keyStore and javax.net.ssl.trustStore … Read more

Default SecurityProtocol in .NET 4.5

Some of the those leaving comments on other answers have noted that setting System.Net.ServicePointManager.SecurityProtocol to specific values means that your app won’t be able to take advantage of future TLS versions that may become the default values in future updates to .NET. Instead of specifying a fixed list of protocols, do the following: For .NET … Read more

cURL error 60: SSL certificate: unable to get local issuer certificate

How to solve this problem: download and extract cacert.pem following the instructions at https://curl.se/docs/caextract.html save it on your filesystem somewhere (for example, XAMPP users might use C:\xampp\php\extras\ssl\cacert.pem) in your php.ini, put this file location in the [curl] section (putting it in the [openssl] section is also a good idea): [curl] curl.cainfo = “C:\xampp\php\extras\ssl\cacert.pem” [openssl] openssl.cafile … Read more

InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately [duplicate]

The docs give a fair indicator of what’s required., however requests allow us to skip a few steps: You only need to install the security package extras (thanks @admdrew for pointing it out) $ pip install requests[security] or, install them directly: $ pip install pyopenssl ndg-httpsclient pyasn1 Requests will then automatically inject pyopenssl into urllib3 … Read more

Java: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

The problem appears when your server has self signed certificate. To workaround it you can add this certificate to the list of trusted certificates of your JVM. In this article author describes how to fetch the certificate from your browser and add it to cacerts file of your JVM. You can either edit JAVA_HOME/jre/lib/security/cacerts file … Read more

No “Proceed Anyway” option on NET::ERR_CERT_INVALID in Chrome on MacOS

FYI: Chrome on MacOS treats this different than Windows. MacOS version won’t see the proceed button even you click advanced button. To still proceed the visit as you are sure this page is safe, here is a easy way to do: There’s a secret passphrase built into the error page. Just make sure the page … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)