SSL 证书和 Google Checkout

发布于 2025-01-06 00:14:15 字数 733 浏览 1 评论 0原文

我已经为我的 java web 应用程序设置了 google checkout,我想接收新订单的通知,并且在收到通知时我想执行一些业务逻辑。 我使用 tomcat 作为应用程序服务器。由于我没有域名,因此我在具有静态 IP 的个人计算机上运行我的应用程序。我正在从另一台机器访问我的应用程序,例如 https://my.static.IP:port/myWebApplication ,一切正常。现在的问题是谷歌结账通知需要SSL证书。我确实为 tomcat 创建了一个自签名 SSL 证书,但 google 抛出了以下 SSL 证书错误。

错误:

We encountered an error trying to access your server at https://my.static.IP:port/myWebApplication/notificationServlet -- the error we got is java.io.IOException: Error 'SSL_CERTIFICATE_ERROR' connecting to url 'https://my.static.IP:port/myWebApplication/notificationServlet'.

我这里有两个疑问:-
1.) 我不确定如何为我的 IP 创建 SSL 证书,以便 google 结帐通知接受它。
2.) 如果无法为 IP 创建 SSL,那么是否有其他方法可以实现不需要 SSL 的 google 结账通知。

谢谢。

I have setup google checkout for my java web application and I want to recieve notifications of new orders and on recieving notificatification I want to execute some business logic.
I am using tomcat as application server. As I do not have a domain name so I am running my application on my personal machine which have a static IP. I am accessing my application from another machine like https://my.static.IP:port/myWebApplication and everything working fine. Now the problem is that google checkout notification needs SSL certificate. I did created a self signed SSL certificate for tomcat but google throwing following error for SSL certificate.

Error:

We encountered an error trying to access your server at https://my.static.IP:port/myWebApplication/notificationServlet -- the error we got is java.io.IOException: Error 'SSL_CERTIFICATE_ERROR' connecting to url 'https://my.static.IP:port/myWebApplication/notificationServlet'.

I have two queries here:-
1.) I am not sure how to create SSL certicficate for my ip so that it should be accepted fo google checkout notification.
2.) If it is not possible to create SSL for IP then is there some other way implementing google checkout notification whcich do not require SSL.

Thanks.

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

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

发布评论

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

评论(2

[浮城] 2025-01-13 00:14:15

Google 给出了答案:http:// support.google.com/checkout/sell/bin/answer.py?hl=en&answer=134466

因此,看来您应该购买证书才能使用它。

There is an answer from Google: http://support.google.com/checkout/sell/bin/answer.py?hl=en&answer=134466

So, seems you should buy a certificate in order to use it.

ヅ她的身影、若隐若现 2025-01-13 00:14:15

如果您使用的是 Checkout notification API 2.5 版,则不需要 SSL:

http ://code.google.com/apis/checkout/developer/Google_Checkout_XML_API_Notification_API.html

If you're using version 2.5 of the Checkout Notification API you do not need SSL:

http://code.google.com/apis/checkout/developer/Google_Checkout_XML_API_Notification_API.html

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