问题描述
$ curl -I https://9.185.173.135
curl: (35) Unknown SSL protocol error in connection to 9.185.173.135:443
这是我需要访问的安全页面。但我不知道如何获得其证书文件。我试图使用Firefox,但它说,一旦输入的URL不能获得任何SSL证书。
This is an secured page that I need to access. But I don't know how to obtain its certificate file. I tried to use Firefox, but it says couldn't get any ssl certificate once the url is entered.
$ curl -I http://9.185.173.135
HTTP/1.1 200 OK
Content-Length: 686
Content-Type: text/html
Content-Location: http://9.185.173.135/Default.htm
Last-Modified: Mon, 16 Mar 2009 05:05:38 GMT
Accept-Ranges: bytes
ETag: "a851dbd8f4a5c91:d41"
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Tue, 13 Jul 2010 04:09:35 GMT
服务器绝对可以从我的笔记本电脑上访问。一旦我获得证书文件,我假设我可以将其导入到Firefox,然后使用我的凭据通过身份验证(我已经有用户名/密码)。
The server is definitely reachable from my laptop. Once I get the certificate file, I assume I can then import it to Firefox and then use my credentials to pass the authentication (I already got the username/password).
对不起,我不是安全专家。还有什么我可以尝试吗?
Sorry I am no expert in security at all. Is there anything else I can try?
非常感谢。
推荐答案
对于Rudi:感谢提示,这告诉我一个地狱很多的信息。
To Rudi : Thanks for the hint, that tells me a hell lot of info.
不知怎的,安全页面的管理员每天刷新认证状态。所以,虽然我昨天被阻止访问它,它慷慨地让我获取另一个证书,并将其添加到Firefox的例外列表。
Somehow the admin of the secured page "refreshes" the state of certifications every day. So although I got blocked from accessing it yesterday, it generously lets me to grab another certificate and add it to the exception list of Firefox.
所以一切正常,我真正从昨天的经验中学习。
So everything is working, and I really learn something from yesterday's experience.
这篇关于curl错误35:连接中未知的SSL协议错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!