#OpenSSL
共 32 篇文章
解决 OpenSSL 报错 dh key too small weak ciphers 弱密钥拒绝修复
排查 升级 Linux 系统或 OpenSSL 3.0 后,连接老旧服务器或设备时报 SSL routines:ssl3_check_cert_and_algorithm:dh key too small,分析 SECLEVEL 安全级别与 Diffie-Hellman 参数长度。
解决 Linux curl 报错 curl 35 error in the pull function TLS 修复
排查在 Linux 上执行 curl 请求 HTTPS 提示 curl: (35) error in the pull function 或 OpenSSL SSL_connect: Connection reset by peer,排查 MTU 分片与 TLS 握手。
解决 OpenSSL 报错 0308010C digital envelope unsupported
分析 Node.js 17+ 升级 OpenSSL 3.0 导致 Webpack 打包报 0308010C 的根因,提供 openssl-legacy-provider 兼容方案。
解决 OpenSSL 报错 bad decrypt: digital envelope routines 密码填充修复
排查 OpenSSL 命令行或底层库解密文件提示 bad decrypt 错误,深入分析对称密钥密码错误、AES-256-CBC 填充与 pbkdf2 迭代算法。
解决 OpenSSL 报错 CRL has expired 证书吊销列表过期修复
排查 企业网关或 VPN 在对接入客户端执行双向证书吊销校验(CRL Verification)时,所有合法用户突发无法连接,报 verify error:num=12:CRL has expired,分析 crl.pem 自动更新周期与缓存刷新。
解决 OpenSSL 报错 self signed certificate in certificate chain 修复
排查 OpenSSL 抛出 verify error:num=19:self signed certificate in certificate chain,分析私有 CA 根证书导入与信任链。
解决 OpenSSL 报错 certificate has expired verify error 10 证书过期修复
排查 OpenSSL 输出 verify error:num=10:certificate has expired,分析自动化续期失败根因与 Certbot crontab 修复。
解决 OpenSSL 报错 certificate has expired 根证书与中间证书链续签修复
排查 Linux 系统调用或请求外部 API 提示 certificate has expired 与 SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE 错误,更新系统 CA 根证书库。
解决 Python 报错 CERTIFICATE_VERIFY_FAILED: certificate verify failed 根证书修复指南
排查 Python 使用 urllib 与 requests 请求 HTTPS 接口提示 SSL: CERTIFICATE_VERIFY_FAILED 错误,分析 macOS 安装脚本与 certifi 库配置。
Nginx 开启 OCSP 报 OCSP stapling: response is expired 排查
分析 Nginx 开启 OCSP 钉扎后因上游响应缓存过期返回错误或握手延迟的原因,提供 DNS 与证书链配置策略。
自建 CA 签发证书报错 x509: certificate relies on legacy Common Name field:排查 SAN 扩展
企业内网搭建私有 CA 签发 TLS 证书后,老版本系统正常,但在新版 Chrome 浏览器或 Go 语言微服务客户端中报 x509 验证失败。详细解析 X.509 v3 废弃 CN 并强制校验 Subject Alternative Name(SAN)的规范要求,并提供完整的 OpenSSL 签发脚本。
解决 OpenSSL 验证报错 verify error:num=20:unable to get local issuer certificate
分析 OpenSSL 校验证书链报 num 20 诱因,详解 update-ca-certificates 与中间证书拼接规范。
解决 OpenSSL 报错 wrong version number ssl23_get_server_hello 修复
排查向目标端口发起 HTTPS 请求抛出 ssl23_get_server_hello:wrong version number,分析纯 HTTP 误用 HTTPS 与端口反向代理错位。
解决 OpenSSL 报错 unhandled critical extension 关键扩展拒绝修复
排查 自签发 X.509 证书在浏览器或 OpenSSL 校验时报 certificate verify failed: unhandled critical extension,分析 X.509 规范中关键扩展标志位(critical flag)与不识别自定义 OID。
OpenSSL 校验报错 X509_V_ERR_UNABLE_TO_GET_CRL 证书吊销排查
分析 OpenSSL 开启严格 CRL 吊销检查后因无法下载 CRL 列表导致验证失败的离线与参数配置对策。
SSL: DH_KEY_TOO_SMALL 握手失败与 dhparam 密钥生成
分析 Linux 系统升级后 OpenSSL 安全等级提升,在请求老旧服务器时抛出 SSL_CTX_set_cipher_list: DH_KEY_TOO_SMALL 的机理,提供生成 2048 位 dhparam 密钥实战。
解决 OpenSSL 报错 ASN1 encoding bad signature 签名校验失败修复
排查 OpenSSL 命令行或 SDK 校验 ECDSA / RSA 签名时抛出 Error: bad signature or nested asn1 error,分析 DER / Raw 二进制编码格式转换与 IEEE P1363 (r, s) 拼接差异。
OpenSSL 解密私钥报错 bad decrypt 或 wrong passphrase 排查
分析 OpenSSL 转换加密私钥时报 bad decrypt 错误的底层加密算法不兼容与 PKCS8 格式转换对策。
解决 OpenSSL 报错 error:0A000126:SSL routines::unexpected eof while reading
分析 OpenSSL 3.0 报 unexpected eof while reading 诱因,详解 TLS 1.3 close_notify 严格校验与降级适配。
解决 OpenSSL 报错 unable to get local issuer certificate 修复
排查 OpenSSL 或 curl 验证证书抛出 unable to get local issuer certificate,分析根证书信任库更新与缺失 CA 补齐。


