tls

git clone GnuTLS recv error (-9): A TLS packet with unexpected length was received

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I tried to clone my project on my linux server via git and suddenly got this error: GnuTLS recv error (-9): A TLS packet with unexpected length was received. This is asked many times, but answered none. I am using bitbucket. 回答1: It turns out you just need to remove git with sudo apt-get purge git but NOT with sudo apt-get --purge git for some reason it wont work if you do --purge . Now install it again by typing sudo apt-get install git . And then when you try your clone, it should work properly. 文章来源: git clone GnuTLS recv error (-9): A

The request was aborted: Could not create SSL/TLS secure channel

匿名 (未验证) 提交于 2019-12-03 01:29:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: We are unable to connect to an HTTPS server using WebRequest because of this error message: The request was aborted: Could not create SSL/TLS secure channel. We know that the server doesn't have a valid HTTPS certificate with the path used, but to bypass this issue, we use the following code that we've taken from another StackOverflow post: private void Somewhere() { ServicePointManager.ServerCertificateValidationCallback += new RemoteCertificateValidationCallback(AlwaysGoodCertificate); } private static bool AlwaysGoodCertificate(object

Default SecurityProtocol in .NET 4.5

匿名 (未验证) 提交于 2019-12-03 01:29:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: What is the default security protocol for communicating with servers that support up to TLS 1.2 ? Will .NET by default, choose the highest security protocol supported on the server side or do I have to explicitly add this line of code: System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12; Is there a way to change this default, besides a code change? Lastly, does .NET 4.0 only support up to TLS 1.0 ? i.e. I have to upgrade client projects to 4.5 to support TLS 1.2

FTPES - FTP over explicit TLS/SSL in Python

匿名 (未验证) 提交于 2019-12-03 01:29:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I need a python client to do FTPES (explicit), does anyone has experience with any python package that can do this. I am not able to do this in python, but can connect to FTP server using tools like FileZilla Thanks 回答1: FTP-SSL Explicit is well supported by native Python. After setting up the connection, you can use all the standard ftplib commands. More can be found at: http://docs.python.org/2/library/ftplib.html#ftplib.FTP_TLS Here's a basic example for downloading a file: from ftplib import FTP_TLS ftps = FTP_TLS('ftp.MySite.com') ftps

Connecting to 'Explicit FTP over TLS' in Python (??)

匿名 (未验证) 提交于 2019-12-03 01:27:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I cannot figure out how to see the file contents of an FTP site using ftplib. I can connect to the FTP site using WinSCP just fine, and see the 6 files in the root directory. In Python 3.4, I am using the following code: from ftplib import FTP_TLS ftps = FTP_TLS ( timeout = 100 ) ftps . connect ( ipAddress , 21 ) ftps . auth () ftps . prot_p () ftps . login ( 'username' , 'password' ) Which produces: Out [ 72 ]: '230 User logged in.' I can then run this: ftps . pwd () ...and I see that I am in the root directory: Out [ 73 ]: '/'

“TLS requested but server does not support TLS” error with Google Cloud SQL (2nd generation) from Google App Engine?

匿名 (未验证) 提交于 2019-12-03 01:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm running into an issue in re-using my connection string (resolved here ... Cannot connect to Google Cloud SQL using SSL + Golang from Google App Engine ...) from connecting to a Google Cloud SQL generation one instance while trying to connect to a generation two instance. I'm receiving this error: TLS requested but server does not support TLS I can't figure out how to get around this, and the documentation is pretty scarce. I caught the fact that Instance connection name follows a different structure on generation two, but that doesn't

iOS 9.3 : An SSL error has occurred and a secure connection to the server cannot be made

匿名 (未验证) 提交于 2019-12-03 01:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am getting following error with self signed certificate Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made. while testing web-services for one of my demo app with iOS 9.3 XCode 7.3 Swift 2.2 Alamofire 3.3.0 and Local server : https://filename.hostname.net Note: before assuming its Duplicate, I would request please read it all the way,even same i have reported to apple dev forums Using Alamofire Library func testAlamofireGETRequest() -> Void { Alamofire.request(.GET,

Error getting endorser client channel: endorser client failed to connect to peer0.org1.example.com:7051

匿名 (未验证) 提交于 2019-12-03 01:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am new to Hyperleger Fabric. I'm reading a tutorial on Building Your First Network and got stuck in the fabric-samples/first-network sample. I first run: ./byfn.sh generate Then I run: ./byfn.sh up The result of this is: Starting for channel 'mychannel' with CLI timeout of '10' seconds and CLI delay of '3' seconds Continue? [Y/n] y proceeding ... 2018-08-03 02:56:16.574 UTC [main] main -> INFO 001 Exiting..... LOCAL_VERSION=1.1.1-snapshot-DOCKER_IMAGE_VERSION=1.1.0 =================== WARNING =================== Local fabric binaries and

TLS 1.2 + Java 1.6 + BouncyCastle

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: For supporting HTTPS connections through a Java 1.6 API to remote hosts using TLS 1.2, we have developed a customized TLS SocketConnection factory based on Bouncy Castle Libraries (v. 1.53) It's very easy to use, just: String httpsURL = xxxxxxxxxx URL myurl = new URL(httpsURL); HttpsURLConnection con = (HttpsURLConnection )myurl.openConnection(); con.setSSLSocketFactory(new TSLSocketConnectionFactory()); InputStream ins = con.getInputStream(); During testing, I connect different web and remote hosts exposed into SSLabs Tests 90% of the time

POODLE vulnerability, JBoss and IE

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: So, I have JBoss 5.1.0 GA, and I read about how I need to disable SSLv3 here: https://access.redhat.com/solutions/1232233 What was not mentioned here was that I also need to get rid of all ciphers that support falling back to SSLv3. When I did that, I got a "green checkmark" on this website https://www.tinfoilsecurity.com/poodle which is basically a confirmation that I've secured my server and SSLv3 is not supported anymore, but now I cannot access my website using IE (all versions of IE). Since I only had 4 ciphers in my cipher