MIMEKIT Multipart Signed.Verify 如何禁用证书吊销列表检查?
Posted
技术标签:
【中文标题】MIMEKIT Multipart Signed.Verify 如何禁用证书吊销列表检查?【英文标题】:MIMEKIT MultipartSigned.Verify How can I disable Certificate Revocation list ceck? 【发布时间】:2021-12-18 03:57:46 【问题描述】:在使用 MimeKit.Cryptography.MultipartSigned.Verify 时是否可以禁用证书吊销列表检查?
发送给我的一方似乎无法正确获取他们的 CRL 分发点,我想简单地禁用检查。
System.Security.Cryptography.CryptographicException: The revocation function was unable to check revocation because the revocation server was offline.
at System.Security.Cryptography.Pkcs.SignerInfo.Verify(X509Certificate2CollectionextraStore,X509Certificate2 certificate, Boolean verifySignatureOnly)
at System.Security.Cryptography.Pkcs.SignerInfo.CheckSignature(X509Certificate2Collection extraStore, Boolean verifySignatureOnly)
at MimeKit.Cryptography.WindowsSecureMimeDigitalSignature.Verify(Boolean verifySignatureOnly)
--- End of inner exception stack trace ---
at MimeKit.Cryptography.WindowsSecureMimeDigitalSignature.Verify(Boolean verifySignatureOnly)
【问题讨论】:
【参考方案1】:您是否尝试过将verifySignatureOnly: true
传递给Verify() 方法?
【讨论】:
以上是关于MIMEKIT Multipart Signed.Verify 如何禁用证书吊销列表检查?的主要内容,如果未能解决你的问题,请参考以下文章