tls

How to use TLS in Play!Framework WebSockets (“wss://”)

匿名 (未验证) 提交于 2019-12-03 01:11:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I cannot use wss:// in my simple WebSocket app created with Play!Framework 2.2. It echoes the message back. The endpoint is like this def indexWS2 = WebSocket.using[String] { request => { println("got connection to indexWS2") var channel: Option[Concurrent.Channel[String]] = None val outEnumerator: Enumerator[String] = Concurrent.unicast(c => channel = Some(c)) // Log events to the console val myIteratee: Iteratee[String, Unit] = Iteratee.foreach[String] {gotString => { println("received: " + gotString) // send string back channel.foreach(_

'Unable to connect Net/http: TLS handshake timeout' ― Why can't Kubectl connect to Azure Kubernetes server? (AKS)

匿名 (未验证) 提交于 2019-12-03 01:10:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: My question (to MS and anyone else) is: Why is this issue occurring and what work around can be implemented by the users / customers themselves as opposed to by Microsoft Support? There have obviously been 'a few' other question about this issue: Managed Azure Kubernetes connection error Can't contact our Azure-AKS kube - TLS handshake timeout Azure Kubernetes: TLS handshake timeout (this one has some Microsoft feedback) And multiple GitHub issues posted to the AKS repo: https://github.com/Azure/AKS/issues/112 https://github.com/Azure/AKS

How to set TLS version on apache HttpClient

匿名 (未验证) 提交于 2019-12-03 01:10:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: How can I change the supported TLS versions on my HttpClient? I'm doing: SSLContext sslContext = SSLContext.getInstance("TLSv1.1"); sslContext.init( keymanagers.toArray(new KeyManager[keymanagers.size()]), null, null); SSLSocketFactory socketFactory = new SSLSocketFactory(sslContext, new String[]{"TLSv1.1"}, null, null); Scheme scheme = new Scheme("https", 443, socketFactory); SchemeRegistry schemeRegistry = new SchemeRegistry(); schemeRegistry.register(scheme); BasicClientConnectionManager cm = new BasicClientConnectionManager

TLS version 1.2 Java1.6 BouncyCastle Internal TLS error

匿名 (未验证) 提交于 2019-12-03 01:10:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: We have application written in java 1.6 we have developed a customized TLSSocketConnection factory based on Bouncy Castle Libraries (v. 1.57) Here is code snippet of TLSSocketConnection factory /** * This Class enables TLS V1.2 connection based on BouncyCastle Providers. */ public class TLSSocketConnectionFactory extends SSLSocketFactory { // ******************Adding Custom BouncyCastleProvider*********************// static { if (Security.getProvider(BouncyCastleProvider.PROVIDER_NAME) == null) Security.addProvider(new BouncyCastleProvider()

EIdOSSLUnderlyingCryptoError and “Error connecting with SSL. error:14094410…”

匿名 (未验证) 提交于 2019-12-03 01:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a problem with Indy components in Delphi 10.1 Berlin on OS X. I'm using TIdHTTP to connect to a webservice using HTTPS. The problem is connecting to a server from an OS X client. When running on OS X, I get this same error all the time: Project raised exception class EIdOSSLUnderlyingCryptoError with message 'Error connecting with SSL. error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure'. I set the TIdHTTP.IOHandler property to use OpenSSL: IdHTTP.IOHandler := TIdSSLIOHandlerSocketOpenSSL.Create(nil); On OS X,

Stripe - PHP error - Stripe no longer supports API requests made with TLS 1.0

匿名 (未验证) 提交于 2019-12-03 01:00:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is it possible to run stripe tests without an HTTPS page? I seem to be getting the following error on my localhost. Is there a way to correct it? This happens after submitting the payment information. Fatal error: Uncaught exception 'Stripe\Error\Authentication' with message 'Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You can learn more about this at https://stripe.com/blog/upgrading-tls .' in /Applications/MAMP/htdocs/composer/vendor/stripe/stripe-php/lib/ApiRequestor

Docker: Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates

匿名 (未验证) 提交于 2019-12-03 01:00:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am having a similar problem. Any direction would help. The "docker-machine -D ssh default" Allows me to login and work the container. but it still bugs me as to why do I see this error? here is some of the extract Copying certs to the local machine directory... Copying certs to the remote machine... Setting Docker configuration on the remote daemon... This machine has been allocated an IP address, but Docker Machine could not reach it successfully. SSH for the machine should still work, but connecting to exposed ports, such as the Docker

Warning: ldap_start_tls() [function.ldap-start-tls]: Unable to start TLS: Server is unavailable

匿名 (未验证) 提交于 2019-12-03 00:59:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Warning: ldap_start_tls() [function.ldap-start-tls]: Unable to start TLS: Server is unavailable in /var/www/html/testldap/index.php on line 13 Ldap_start_tls failed My configuration is as follows Centos 5.7 PHP Version 5.3.3 php53-ldap configured. No matter what I try to do , the starttls issue is giving me a headache. Any help would be highly appreciated. 回答1: Well, what a fun journey I have been on with this one. The problem you are having is that your machine does not accept the server's certificate as valid. The simple work around to

javax.net.ssl.SSLHandshakeException: No appropriate protocol

匿名 (未验证) 提交于 2019-12-03 00:56:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: i have install tomcat 8(ssl support) with java 1.8. When start tomcat catalina out write javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) at sun.security.ssl.Handshaker.activate(Handshaker.java:503) at sun.security.ssl.SSLEngineImpl.kickstartHandshake(SSLEngineImpl.java:729) at sun.security.ssl.SSLEngineImpl.beginHandshake(SSLEngineImpl.java:756) at org.apache.tomcat.util.net.SecureNioChannel.reset(SecureNioChannel.java:94) at org.apache.tomcat.util.net.SecureNioChannel.

Jenkins SMTP TLS

匿名 (未验证) 提交于 2019-12-03 00:50:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to setup Jenkins to use our company's SMTP server to email build notifications. We are using TLS as the encryption method on port 587. I can not seem to get the email notification to work properly though. Here is my Hudson.Tasks.Mailer.xml file so you can see my config (I've removed the SMTP auth user and password and changed the smtpHost slightly just in case) http://localhost:8080/ $ pod#####.outlook.com true 587 UTF-8 It looks like this is a known issue, from http://issues.hudson-ci.org/browse/HUDSON-2206 I am not very familiar