- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我的应用程序在两天前运行良好。我能够在实时应用程序上完全正常地发送推送通知,但突然我开始收到此错误
{System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. ---> System.ComponentModel.Win32Exception: The certificate is revoked
这是我的代码,我在这里遇到了异常
try
{
stream.AuthenticateAsClient(this.appleSettings.Host,
this.certificates, System.Security.Authentication.SslProtocols.Tls,
false);
}
catch (System.Security.Authentication.AuthenticationException ex)
{
throw new ConnectionFailureException("SSL Stream Failed
to Authenticate as Client", ex);
}
试图将 X509Certificate
更改为 X509Certificat2
并将 X509CertificateCollection
更改为 X509Certificate2Collection
但它对我没有帮助.我也没有从我的开发者帐户中撤销任何证书。
最佳答案
我们遇到了同样的问题,我们通过为 Apple 推送通知生成新的 .p12 证书文件来修复它。证书有效期为一年,与您的应用无关。因此,您不需要提高商店中的应用增益来解决问题。只需找到您的应用程序的应用程序 ID。使用此应用 ID 为推送通知创建一个新的 .p12 证书文件并将其上传到您的服务器。
关于c# - 调用 SSPI 失败 - 证书被吊销,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30068193/
当 X509Certificate 被撤销时,我如何以编程方式获取?如果证书被吊销,我可以获得信息,但我需要获得吊销证书的时间,我认为 CRL 列表包含该信息,但有人可以告诉我如何阅读该信息。 最佳答
我如何使用 OCSP 在 java 中手动检查证书吊销状态,只给定客户端的 java.security.cert.X509Certificate?我看不到一个明确的方法。 或者,我可以让 tomcat
在我的 AD B2C 应用程序中,我需要撤销 AD B2C 为用户提供的所有刷新 token 。这是在用户帐户登录多个应用程序并且在一个应用程序用户更改密码时实现的要求。更改密码后,我已经撤销了他提供
我是一名优秀的程序员,十分优秀!