我想创建推送通知服务器,在服务器中安装 SSL 证书和 .p12 文件时,我们面临以下错误:我想知道 ssl 证书有什么问题,因为我收到了 certificate_unknown 错误。
main, RECV TLSv1 ALERT: fatal, certificate_unknown
main, called closeSocket()
main, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
Error pushing notification(s):
Invalid certificate chain (Received fatal alert: certificate_unknown)! Verify that the keystore you provided was produced according to specs...
at javapns.notification.PushNotificationManager.sendNotification(PushNotificationManager.java:359)
at javapns.notification.PushNotificationManager.sendNotification(PushNotificationManager.java:301)
at javapns.notification.PushNotificationManager.sendNotification(PushNotificationManager.java:258)
at javapns.Push.payload(Push.java:122)
at javapns.Push.alert(Push.java:36)
at com.applicationname.pns.PushNotification.main(PushNotification.java:31)
Run Code Online (Sandbox Code Playgroud)
//源代码
/**
*
*/
package com.applicationname.pns;
import org.json.JSONException;
import javapns.Push;
import javapns.devices.Device;
import javapns.notification.Payload;
import javapns.notification.PushNotificationManager;
import javapns.notification.PushNotificationPayload;
public class PushNotification …
Run Code Online (Sandbox Code Playgroud) 我正在使用映射到 AD 中的用户的本地证书让iPad对 IIS7.5 网站进行身份验证。
从任何意义上说,我都不是 IIS 管理员。
我基本上需要设置一个概念证明。我相信这可能有效,但我不知道该怎么做。
到目前为止,我拥有的是安装了用户证书的iPad。我有这个用户证书在 AD 中添加了相关的用户帐户。
我想要的是加载一个基本的文本网页,向用户显示它正在进行身份验证。我希望此页面不可见,除非它经过客户端证书身份验证。
我不介意跑腿,但我真的不知道在 IIS 方面从哪里开始。
任何人都可以指出我正确的方向吗?