tls1.2

Is there a way to enable TLS 1.2 in Picasso library on older devices?

家住魔仙堡 提交于 2020-01-01 03:15:06
问题 My app is using images from HTTPS source, Solar Dynamics Observatory, and these images are loading just fine on Android versions with API 21 (5.0) (I think that API 20 would work as well) or higher, but I can't load these images on Android versions from API 16 (min. API that I set for my app) to API 19. Here's the code that's loading the images, it's pretty basic - Picasso.with(this) .load("https://sdo.gsfc.nasa.gov/assets/img/latest/latest_2048_HMIIC.jpg") .placeholder(R.drawable

Why does tlstest.paypal.com work from browser but not from my PHP code (useful for Paypal IPN)?

不羁的心 提交于 2019-12-30 15:43:49
问题 After 2018 June 30th, Paypal won't accept non-TLS 1.2 + HTTP 1.1 requests anymore. They created the URL https://tlstest.paypal.com/ to test if connections are OK. If we open this URL in a browser, we get a successful: PayPal_Connection_OK Quesiton: why does it fail when connecting from PHP with the following code? (I get no response at all, the browser is still in waiting "state" like this, so it doesn't even arrive at echo $errno; echo $errstr; ) <?php $req = ''; // usually I use $req = 'cmd

Why does tlstest.paypal.com work from browser but not from my PHP code (useful for Paypal IPN)?

为君一笑 提交于 2019-12-30 15:41:55
问题 After 2018 June 30th, Paypal won't accept non-TLS 1.2 + HTTP 1.1 requests anymore. They created the URL https://tlstest.paypal.com/ to test if connections are OK. If we open this URL in a browser, we get a successful: PayPal_Connection_OK Quesiton: why does it fail when connecting from PHP with the following code? (I get no response at all, the browser is still in waiting "state" like this, so it doesn't even arrive at echo $errno; echo $errstr; ) <?php $req = ''; // usually I use $req = 'cmd

Why does tlstest.paypal.com work from browser but not from my PHP code (useful for Paypal IPN)?

两盒软妹~` 提交于 2019-12-30 15:41:42
问题 After 2018 June 30th, Paypal won't accept non-TLS 1.2 + HTTP 1.1 requests anymore. They created the URL https://tlstest.paypal.com/ to test if connections are OK. If we open this URL in a browser, we get a successful: PayPal_Connection_OK Quesiton: why does it fail when connecting from PHP with the following code? (I get no response at all, the browser is still in waiting "state" like this, so it doesn't even arrive at echo $errno; echo $errstr; ) <?php $req = ''; // usually I use $req = 'cmd

How to know if an Azure Server is under TLS 1.2

ぐ巨炮叔叔 提交于 2019-12-30 11:00:17
问题 We have a web app hosted in an Azure Server (using api in an Azure Server). For security purposes we'd like to know if the server is under tls 1.2 (I suppose for a non-cloud server we'll just have to see in regedit to know it). I've seen topics on how to disabled ssl 3 from an azure server see at : https://azure.microsoft.com/fr-fr/blog/how-to-disable-ssl-3-0-in-azure-websites-roles-and-virtual-machines/ I suppose to enable tls 1.2 we'll have to do this kind of things ... So my questions are

PHP secure connection with WSDL service breaks after server renewed certificate

北城以北 提交于 2019-12-25 09:17:01
问题 The new certificate is "Symantec Class 3 EV SSL CA - G3". The client has CentOS. There is no control over the server, it is third party. When the WDSL https address is loaded in Firefox and Chrome, both browsers show "Secure connection", no problem. The WSDL address is https://palena.sii.cl/DTEWS/CrSeed.jws?WSDL Test code: $success = false; $attempts = 0; while (($success === false) && ($attempts < 10)) { $attempts ++; echo 'Attempt ' . $attempts . '<br>'; try { $wsdl = 'https://palena.sii.cl

Using TLS in Android

流过昼夜 提交于 2019-12-25 06:30:47
问题 I'm developing an Android application that communicates with my device(ARM based device with bluetooth module) via bluetooth using TLS(TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256). What I considered: javax.net.ssl from Android. Problem is that ephemeral(ECDH E ) encryption keys are starting from API 20 but I need API 11. I didn't find a way to add suite. It seems that this library is strongly related to android version. API versions and overview Bouncycastle(spongycastle) I didn't find a way to use

Overwriting jetty default ciphers

笑着哭i 提交于 2019-12-25 04:08:41
问题 My initial problem was that when I was using IncludeCipherSuites option in jetty configuration file, only TLS 1.2 was being supported. Please see below post for details: Jetty IncludeCipherSuites enables only TLS 1.2 Based on the comments it appeared that if I don't provide ExcludeCipherSuites in my jetty configuration file, jetty default exclude cipher list is being used and many ciphers which I explicitly enabled by IncludeCipherSuites option were being excluded (if they are in jetty

Overwriting jetty default ciphers

非 Y 不嫁゛ 提交于 2019-12-25 04:08:16
问题 My initial problem was that when I was using IncludeCipherSuites option in jetty configuration file, only TLS 1.2 was being supported. Please see below post for details: Jetty IncludeCipherSuites enables only TLS 1.2 Based on the comments it appeared that if I don't provide ExcludeCipherSuites in my jetty configuration file, jetty default exclude cipher list is being used and many ciphers which I explicitly enabled by IncludeCipherSuites option were being excluded (if they are in jetty

How do I prevent a 404/java.io.FileNotFoundException on a Java fetch of a redirected URL?

不想你离开。 提交于 2019-12-25 03:37:08
问题 I need to fetch the full html of of a page produced by an Amazon Web Service. My question has to do with why I am unable to obtain this html from the AWS servers. The AWS service provides an initial URL (URL #1) which is normally processed by a browser. URL #1 returns a Status of 302 and the URL of a redirected page (URL #2). This works fine when a browser works with these URLs. However, when our Java code below runs we get a Status of 404 for URL #2 and a runtime error of: java.io