Tag: ssl certificate

禁用CURLOPT_SSL_VERIFYHOST(libcurl / openssl)的安全后果

启用CURLOPT_SSL_VERIFYPEER和禁用CURLOPT_SSL_VERIFYHOST有什么安全后果?

在wamp服务器上安装SSL:httpd-ssl.conf中的错误

我试图在本地主机上设置SSL我已经下面的http://madurad.wordpress.com/2014/04/25/redirect-http-to-https-with-wamp-server/和其他许多人,但无法得到成功。 我坚持在httpd-ssl.conf的语法。 我的apache服务器宕了,当我设置 <Directory "c:/wamp/www/"> Options Indexes FollowSymLinks AllowOverride all Require all granted SSLOptions +StdEnvVars </Directory> 我曾经尝试过很多其他人 <Directory "c:/wamp/www/"> SSLOptions +StdEnvVars </Directory> 什么问题不能得到….

SSL证书被拒绝,试图通过HTTPS在防火墙后访问GitHub

我卡在防火墙后面,所以必须使用HTTPS来访问我的GitHub存储库。 我在Windows XP上使用cygwin 1.7.7。 我已经尝试将远程设置为https://username@github.com/username/ExcelANT.git ,但是按提示input密码,但是一旦我input密码,就不会执行任何操作。 https://username:<password>github.com/username/ExcelANT.git和从头开始克隆空的回购,但每次它给我同样的错误 错误:SSL证书问题,请validationCA证书是否正确。 细节: 错误:14090086:SSL例程:SSL3_GET_SERVER_CERTIFICATE:访问https://github.com/username/ExcelANT.git/info/refs时证书validation失败 打开GIT_CURL_VERBOSE=1给我 *关于连接()到github.com端口443(#0) *尝试207.97.227.239 … *成功设置证书validation位置: * CAfile:无 CApath:/ usr / ssl / certs * SSL证书问题,请validationCA证书是否正确。 细节: 错误:14090086:SSL例程:SSL3_GET_SERVER_CERTIFICATE:证书validation失败 *清除过期 *closures连接#0 *关于连接()到github.com端口443(#0) *尝试207.97.227.239 … *成功设置证书validation位置: * CAfile:无 CApath:/ usr / ssl / certs * SSL证书问题,请validationCA证书是否正确。 细节: 错误:14090086:SSL例程:SSL3_GET_SERVER_CERTIFICATE:证书validation失败 *清除过期 *closures连接#0 错误:SSL证书问题,请validationCA证书是否正确。 细节: 错误:14090086:SSL例程:SSL3_GET_SERVER_CERTIFICATE:访问https://github.com/username/ExcelANT.git/info/refs时证书validation失败 fatal: HTTP request failed 这是我的防火墙,cygwin或什么问题? […]

Java:sun.security.provider.certpath.SunCertPathBuilderException:找不到要求的目标的有效证书path

我有一个类将从https服务器下载文件。 当我运行它时,它会返回很多错误。 我的证书似乎有问题。 是否可以忽略客户端服务器身份validation? 如果是这样,怎么样? package com.da; import java.io.FileOutputStream; import java.io.IOException; import java.nio.CharBuffer; import java.util.concurrent.Future; import org.apache.http.HttpResponse; import org.apache.http.client.utils.URIUtils; import org.apache.http.impl.nio.client.DefaultHttpAsyncClient; import org.apache.http.nio.IOControl; import org.apache.http.nio.client.HttpAsyncClient; import org.apache.http.nio.client.methods.AsyncCharConsumer; import org.apache.http.nio.client.methods.HttpAsyncGet; import org.apache.http.nio.client.methods.HttpAsyncPost; public class RSDDownloadFile { static FileOutputStream fos; public void DownloadFile(String URI, String Request) throws Exception { java.net.URI uri = URIUtils.createURI("https", "176.66.3.69:6443", -1, "download.aspx", "Lang=EN&AuthToken=package", […]

未find适用于Android SSL连接的信任锚

我试图连接到运行godaddy 256位SSL证书的IIS6框,我收到错误: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. 一直试图确定是什么原因造成的,但现在画空白。 这是我如何连接: HttpsURLConnection conn; conn = (HttpsURLConnection) (new URL(mURL)).openConnection(); conn.setConnectTimeout(20000); conn.setDoInput(true); conn.setDoOutput(true); conn.connect(); String tempString = toString(conn.getInputStream());

curl:(60)SSL证书:无法获得本地发行者证书

root@sclrdev:/home/sclr/certs/FreshCerts# curl –ftp-ssl –verbose ftp://{abc}/ -u trup:trup –cacert /etc/ssl/certs/ca-certificates.crt * About to connect() to {abc} port 21 (#0) * Trying {abc}… * Connected to {abc} ({abc}) port 21 (#0) < 220-Cerberus FTP Server – Home Edition < 220-This is the UNLICENSED Home Edition and may be used for home, personal use only < 220-Welcome to […]

urllib和“SSL:CERTIFICATE_VERIFY_FAILED”错误

我得到这个错误 Exception in thread Thread-3: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/Users/Matthew/Desktop/Skypebot 2.0/bot.py", line 271, in process info = urllib2.urlopen(req).read() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 431, in open response = self._open(req, data) […]

如何使用NSURLConnection与SSL连接不可信的证书?

我有以下简单的代码连接到SSL网页 NSMutableURLRequest *urlRequest=[NSMutableURLRequest requestWithURL:url]; [ NSURLConnection sendSynchronousRequest: urlRequest returningResponse: nil error: &error ]; 除非证书是自签名的, Error Domain=NSURLErrorDomain Code=-1202 UserInfo=0xd29930 "untrusted server certificate". 有没有办法将它设置为接受连接(就像在浏览器中,你可以按接受)或绕过它的方式吗?

如何使用openssl创build自签名证书?

我将https支持添加到embedded式Linux设备。 我试图通过以下步骤生成自签名证书: openssl req -new > cert.csr openssl rsa -in privkey.pem -out key.pem openssl x509 -in cert.csr -out cert.pem -req -signkey key.pem -days 1001 cat key.pem>>cert.pem 这工作,但我得到一些错误,例如,谷歌浏览器: 这可能不是你正在寻找的网站! 该网站的安全证书是不可信的! 我错过了什么吗? 这是build立自签名证书的正确方法吗?

收到致命警报:handshake_failure通过SSLHandshakeException

我有一个授权SSL连接的问题。 我创建了使用客户端授权SSL证书连接到外部服务器的Struts Action。 在我的行动中,我试图发送一些数据到银行服务器,但没有任何运气,因为我从服务器的结果有以下错误: error: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure 我的方法从我的操作类发送数据到服务器 //Getting external IP from host URL whatismyip = new URL("http://automation.whatismyip.com/n09230945.asp"); BufferedReader inIP = new BufferedReader(new InputStreamReader(whatismyip.openStream())); String IPStr = inIP.readLine(); //IP as a String Merchant merchant; System.out.println("amount: " + amount + ", currency: " + currency + ", clientIp: " + IPStr + ", […]