tls1.2

Making HTTPS call in C# with the BouncyCastle library

為{幸葍}努か 提交于 2019-12-25 03:08:42
问题 Using C# 4.0, I need to make HTTPS call with the BouncyCastle library (Short story : Windows XP + TLS 1.2). When using the following code, I get a "HTTP Error 400. The request verb is invalid." Here is my code : using (var client = new TcpClient("serverName", 443)) { var sr = new SecureRandom(); var cl = new MyTlsClient(); var protocol = new TlsClientProtocol(client.GetStream(), sr); protocol.Connect(new MyTlsClient()); using (var stream = protocol.Stream) { var hdr = new StringBuilder(); hdr

How to enable a disabled cipher by default in openssl 1.1.0g for my python client

自作多情 提交于 2019-12-25 00:58:54
问题 I am using python ssl library which is built on openssl. I use Ubuntu which has OpenSSL 1.1.0g. In OpenSSL 1.1.0g the following cipher DES-CBC3-SHA is disabled by default. I need to configure my client with this cipher enabled. I need it for testing. In SSL context, I found some ways that allow enabling some disabled options by default. For example, in this documentation the following negate SSL 3.0 which is disabled by default: ctx = ssl.create_default_context(Purpose.CLIENT_AUTH) ctx

How to change a TLS context option

南楼画角 提交于 2019-12-25 00:26:31
问题 In python, we can specify some TLS context options. For example, this code from the documentation here: client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) client_context.options |= ssl.OP_NO_TLSv1 client_context.options |= ssl.OP_NO_TLSv1_1 I do not get this symbol |= . I read what it means but don't get why we use it here? why don't we use = ? Should I use |= to set any option? strangely, I find some examples also int he documentation use &= : ctx = ssl.create_default_context(Purpose

What version of Git supports TLS 1.2?

我只是一个虾纸丫 提交于 2019-12-24 21:06:41
问题 Bitbacket shutdown TLS v1.0 & v1.1. Our Jenkins fails because of old Git: git --version git version 1.8.2.3 + GIT_CURL_VERBOSE=1 + git ls-remote https://bitbucket.org/ * Couldn't find host bitbucket.org in the .netrc file, using defaults * About to connect() to bitbucket.org port 443 * Trying 18.205.93.1... * connected * Connected to bitbucket.org (18.205.93.1) port 443 * successfully set certificate verify locations: * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none * Unknown SSL

java 11 HttpClient leads to endless SSL loop even with disabled TLSv.1.3

女生的网名这么多〃 提交于 2019-12-24 10:24:46
问题 I facing a problem with standard java http client. By some reason that I don't know yet it go into infinite loop and utilize all cpus I have. Below is an example stack trace and a method where the infinity loop is running. "HttpClient-1-Worker-34" #232 daemon prio=5 os_prio=0 cpu=37704.71ms elapsed=231.22s tid=0x00007f1580279000 nid=0x31fc runnable [0x00007f1575059000] java.lang.Thread.State: RUNNABLE at jdk.internal.net.http.common.SSLFlowDelegate$Writer.processData(java.net.http@11.0.1

nodeMCU TLS certificate error

Deadly 提交于 2019-12-24 08:08:12
问题 I am building realy simple IoT project, and I am stuck on nodeMCU TLS problem. I have MQTT broker on my Raspberry pi, all certificates are correctly inserted (everything working fine with Paho Client on same raspberry or with Mqtt.fx client on remote PC), but when I try to connect from my ESP8266 with nodeMCU I am getting SSL handshake error (yes, I am using same cert file for all mentioned clients). My ESP8266 code looks like this: tls.cert.verify([[ -----BEGIN CERTIFICATE----- -----END

Disabling certificate check in gRPC TLS

感情迁移 提交于 2019-12-24 01:16:05
问题 Currently, I have a ngnix server (on port 5001) behind which a gRPC server is running, nginx having TLS enabled. All gRPC clients need to send the request to nginx port which forwards to gRPC server running. Initially for testing had gRPC request using usePlaintext() and it all worked fine, but the end goal is to use TLS. The requirement here is (as this are internal applications), gRPC channel request need not pass certificate but do a "skip certificate" when creating the channel. After

Enable TLS 1.2 for specific Ciphers

淺唱寂寞╮ 提交于 2019-12-23 22:48:22
问题 We have a .NET application which calls an API that allows only TLS version 1.2. Server 2008 SP2. We ran following script on our server: # Copyright 2016, Alexander Hass # http://www.hass.de/content/setup-your-iis-ssl-perfect-forward-secrecy-and-tls-12 # # Version 1.7 # - Windows Version compare failed. Get-CimInstance requires Windows 2012 or later. # Version 1.6 # - OS version detection for cipher suites order. # Version 1.5 # - Enabled ECDH and more secure hash functions and reorderd cipher

The client and server cannot communicate, because they do not possess a common algorithm on Windows Server 2008 Web

醉酒当歌 提交于 2019-12-23 09:27:18
问题 I am working on a ASP.Net WebForms application. We are using PayFort's Start API for the payment process. The application is running fine on our local machine (Windows 10) but it shows following error when we try to make payment using their API on our deployment server (Windows Server Web 2008). The client and server cannot communicate, because they do not possess a common algorithm. The documentation on their webpage (PayFort Start and SSL/TLS) states that they use Tls1.2 for the

Random The request was aborted: Could not create SSL/TLS secure channel. Returned code=MessageAltered

六月ゝ 毕业季﹏ 提交于 2019-12-22 18:28:34
问题 In one out of around a thousand HTTPS requests, following exception is thrown: System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadString(Uri address) The logs from System.Net look like follows: 2016-09-20 15:10:17.1031 | INFO | 72 | System.Net | [2688] Associating HttpWebRequest#37618637 with ServicePoint#28841767 2016-09-20 15:10:17.1031 |