微信證書發布涉及到的問題

2021-09-08 11:42:07 字數 1260 閱讀 2415

參考**:

這個問題被搞了好久,一直沒找到解決方式,網上解決方案倒是很多,但是之前找到的,嘗試過都不行,今天總算是給解決了

問題描述:

system.security.cryptography.cryptographicexception: 出現了內部錯誤。

at system.security.cryptography.cryptographicexception.throwcryptographicexception(int32 hr)

at system.security.cryptography.x509certificates.x509utils._loadcertfromfile(string filename, intptr password, uint32 dwflags, boolean persistkeyset, safecertcontexthandle& pcertctx)

at system.security.cryptography.x509certificates.x509certificate.loadcertificatefromfile(string filename, object password, x509keystorageflags keystorageflags)

at system.security.cryptography.x509certificates.x509certificate..ctor(string filename, string password)

at system.security.cryptography.x509certificates.x509certificate2..ctor(string filename, string password)

at qxun.framework.weixin.nativepay.httpservice.post(string xml, string url, boolean isusecert, int32 timeout) in 位置

拒絕訪問,也不知道為啥會拒絕,發布出去的機制總歸和本地不同。這個方法要再不行,就去嘗試一下https。幸好成功了。

處理方法:

iis 應用程式池--選中你**的所配置的應用程式池--右鍵 選擇 「高階配置」 --將「載入使用者配置檔案」 設定為true 。問題解決

discuz涉及到的問題

其中 設定創始人 config global.php 修改 config admincp founder 1,511314 其中門戶管理中同步登陸 在discuz panel修改 construct將tbl common admincp session表中的 errorcount置為 1 panel...

單點登入和涉及到的秘鑰 證書知識

近來由於專案需要做single sign on,研究了一下cas 具體配置等下篇再介紹 而這個cas的配置最關鍵的不是cas本身,而是數字證書,如何配置多台伺服器之間的信任鏈結。因此,有必要把keystore,keytool的東西翻出來曬曬。幾個概念 keystore 是乙個密碼保護的檔案,用來儲存...

專案管理涉及到的文件

業務聯絡函 業務需求說明書 立項報告 立項評審報告 專案實施方案 專案組通訊錄 專案計畫與執 況跟蹤 需求規格說明書 系統介面規格說明書 總體設計 系統建設整體解決方案 軟體配置管理計畫 軟體質量保證計畫 編碼規範 源 sit測試報告和測試用例 uat測試報告和測試用例 效能測試方案與報告 上線實施...