自签名证书无法访问链接

发布于 2024-12-29 05:50:19 字数 915 浏览 1 评论 0原文

我一直试图理解为什么我无法从我的网络浏览器访问这些链接 甚至在使用时:

wget https://secure.cprod.homeps3.online.scee.com/CommercePoints/MarketPlace/E/ThreadsCP.xml

error

# wget https://secure.cprod.homeps3.online.scee.com/CommercePoints/MarketPlace/E/ThreadsCP.xml
--2012-01-28 01:23:34--  https://secure.cprod.homeps3.online.scee.com/CommercePoints/MarketPlace/E/ThreadsCP.xml
Resolving secure.cprod.homeps3.online.scee.com... 217.18.28.81
Connecting to
secure.cprod.homeps3.online.scee.com|217.18.28.81|:443... connected.
OpenSSL: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert
handshake failure Unable to establish SSL connection.

这些链接通常是从名为 Playstation Home 的客户端请求的。 我们如何在不使用客户端的情况下访问这些链接?

我最近读了很多关于 SSL 的文章,不幸的是,我尝试从浏览器安装证书,甚至有证书,并尝试了许多不同的方法来访问链接,但到目前为止没有任何效果。

我想在客户端离线时访问它们以从商店获取最新内容,这样我就可以在使用客户端时看到可以货比三家的商品。

上面这个链接是不是无法访问?我应该停止寻找答案吗?

I have been trying to understand why I cannot access these links from my webbrowser
or even when using:

wget https://secure.cprod.homeps3.online.scee.com/CommercePoints/MarketPlace/E/ThreadsCP.xml

error

# wget https://secure.cprod.homeps3.online.scee.com/CommercePoints/MarketPlace/E/ThreadsCP.xml
--2012-01-28 01:23:34--  https://secure.cprod.homeps3.online.scee.com/CommercePoints/MarketPlace/E/ThreadsCP.xml
Resolving secure.cprod.homeps3.online.scee.com... 217.18.28.81
Connecting to
secure.cprod.homeps3.online.scee.com|217.18.28.81|:443... connected.
OpenSSL: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert
handshake failure Unable to establish SSL connection.

These links are normally requested from a client named Playstation Home.
How can we access these links without being on the client?

I have been doing a lot of reading about SSL lately and unfortunately I have tried to install the certs from the browser even have the certs and trying many different things to get access to the links, nothing has worked so far.

I would like to access them to get the latest content from the stores when the client is offline so I can see what I can shop around for when I use the client.

Is it impossible to get access to this link above? Should I stop looking for answers?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

飞烟轻若梦 2025-01-05 05:50:19

您需要两个证书:1)包含带有链的服务器证书的证书文件; 2)客户证书。然后你可以尝试使用“curl”命令:

$curl --cacert server_cert_with_chain.pem --cert client_cert.pem "https://secure.cprod.homeps3.online.scee.com/CommercePoints/MarketPlace/E/ThreadsCP.xml"

服务器证书链文件可以从浏览器导出:Firefox ->;首选项->高级->加密->查看证书->服务器;选择“Sony”下的证书;单击“导出...”;选择“带链的 X.509 证书 (PKCS#7)”的格式。

此导出文件为 DER 格式。使用此命令将其转换为 PEM 格式:

$openssl pkcs7 -inform DER -in exported_server_cert -print_certs -out server_cert_with_chain.pem

You need two certs: 1) the cert file containing the server certificate with chain; 2) the client cert. Then you can try using "curl" command:

$curl --cacert server_cert_with_chain.pem --cert client_cert.pem "https://secure.cprod.homeps3.online.scee.com/CommercePoints/MarketPlace/E/ThreadsCP.xml"

The server cert chain file can be exported from browser: Firefox -> Preferences -> Advanced -> Encryption -> View Certificate -> Servers; select the cert under "Sony"; click "Export..."; select Format of "X.509 Certificate with Chain (PKCS#7)".

This exported file is in DER format. Use this command to convert it to PEM format:

$openssl pkcs7 -inform DER -in exported_server_cert -print_certs -out server_cert_with_chain.pem
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文