美文网首页
【keytool&SSL】CFCA 根证书缺失接口调用问题处理

【keytool&SSL】CFCA 根证书缺失接口调用问题处理

作者: Bogon | 来源:发表于2022-11-12 12:28 被阅读0次

一、问题背景

混合云产品,我方工程通过https调用客户方接口 https://www.example.com/xxx 移动端报错

image.png image.png

$ curl -v https://www.example.com/xxx

image.png

二、 问题分析

查看客户SSL证书办法机构,发现根证书是 CFCA 。


image.png

什么是CFCA?

CFCA(China Financial Certification Authority,即中国金融认证中心)是经中国人民银行和国家信息安全管理机构批准成立的安全机构。
CFCA拥有国家密码管理局和工信部的多项认证,是国内可信的信息安全服务提供商。
CFCA品牌的SSL证书满足了国内很多组织单位对SSL证书国产化的需求,在国内知名度较高,被很多金融机构和政府机关选择。

CFCA SSL证书是国产品牌的SSL证书,其根证书、中级证书等都是自主研发,并且已经通过了微软根证书项目认证、 Mozilla根证书认证, 谷歌(安卓)根证书认证和苹果根证书认证, 其根证书已经预埋相关的系统和产品中,这代表CFCA SSL证书是被主流浏览器所信任的可信SSL证书。

静心分析,文件下载位置为cfca协议签署功能,而CFCA方回复支持客户机所安装的系统,怀疑是证书问题导致调用方工程内报错,抛出 IOS 端。

三、 问题处理

  1. 将CFCA 根证书导入浏览器
  2. 将CFCA 根证书导入Windows OS
image.png
image.png
image.png

在CFCA官网下载证书链:https://www.cfca.com.cn/zhengshuzizhu

image.png
image.png
image.png image.png image.png
image.png image.png image.png image.png
  1. 将CFCA 根证书导入Linux OS
#!/bin/bash

cat >/etc/pki/ca-trust/source/anchors/CFCA.cert  <<EOF
-----BEGIN CERTIFICATE-----
MIIFjTCCA3WgAwIBAgIEGErM1jANBgkqhkiG9w0BAQsFADBWMQswCQYDVQQGEwJD
TjEwMC4GA1UECgwnQ2hpbmEgRmluYW5jaWFsIENlcnRpZmljYXRpb24gQXV0aG9y
aXR5MRUwEwYDVQQDDAxDRkNBIEVWIFJPT1QwHhcNMTIwODA4MDMwNzAxWhcNMjkx
MjMxMDMwNzAxWjBWMQswCQYDVQQG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xPQ4i9qecsAIyjmHjdXNYmEwnZPNDatZ8POQQaIxffu2Bq41gt/UP+TqhdL
jOztUmCypAbqTuv0axn96/Ua4CUqmtzHQTb3yHQFhDmVOdYLO6Qn+gjYXB74BGBS
ESgoA//vU2YApUo0FmZ8/Qmkrp5nGm9BC2sGE5uPhnEFtC+NiWYzKXZUmhH4J/qy
P5Hgzg0b8zAarb8iXRvTvyUFTeGSGn+ZnzxEk8rUQElsgIfXBDrDMlI1Dlb4pd19
xIsNER9Tyx6yF7Zod1rg1MvIB671Oi6ON7fQAUtDKXeMOZePglr4UeWJoBjnaH9d
Ci77o0cOPaYjesYBx4/IXr9tgFa+iiS6M+qf4TIRnvHST4D2G0CvOJ4RUHlzEhLN
5mydLIhyPDCBBpEi6lmt2hkuIsKNuYyH4Ga8cyNfIWRjgEj1oDwYPZTISEEdQLpe
/v5WOaHIz16eGWRGENoXkbcFgKyLmZJ956LYBws2J+dIeWCKw9cTXPhyQN9Ky8+Z
AAoACxGV2lZFA4gKn2fQ1XmxqI1AbQ3CekD6819kR5LLU7m7Wc5P/dAVUwHY3+vZ
5nbv0CO7O6l5s9UCKc2Jo5YPSjXnTkLAdc0Hz+Ys63su
-----END CERTIFICATE-----
EOF


update-ca-trust

  1. 将CFCA 根证书导入 ${JAVA_HOME}/jre/lib/security/cacerts
#!/bin/bash

domain_name="www.cfca.com.cn"

domain_port="443"

cert_alias="www.cfca.com.cn"

export JAVA_HOME="/opt/jdk"

echo | openssl s_client -showcerts -connect  ${domain_name}:${domain_port}  2> /dev/null  | sed -n '/-----BEGIN CERTIFICATE-----/,/-----END CERTIFICATE-----/p' > ${cert_alias}.cer

cat ${cert_alias}.cer

keytool -import -file ${cert_alias}.cer -alias ${cert_alias} -keystore ${JAVA_HOME}/jre/lib/security/cacerts --storepass "changeit" --noprompt  -trustcacerts

keytool -list -rfc -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass "changeit" | grep -i "${cert_alias}"
$  echo | openssl s_client -showcerts -connect  www.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.cfca.com.cn/zhengshuzizhu/#zsxz

How to solve javax.net.ssl.SSLHandshakeException Error?
https://www.jianshu.com/p/93084372d004

keytool将他签名证书导入到jre证书管理库
https://www.jianshu.com/p/04bb1b8c20bf

相关文章

  • 【keytool&SSL】CFCA 根证书缺失接口调用问题处理

    一、问题背景 混合云产品,我方工程通过https调用客户方接口 https://www.example.com/x...

  • axios使用拦截器取消重复的请求

    由于接口响应速度等原因,在项目开发中经常需要处理重复点击导致多次调用接口的问题,针对每个接口调用单独处理相对繁琐,...

  • 阿里云 SSL证书下载安装使用

    【背景】公司采购阿里云SSL证书服务,其选择CFCA颁发的SSL证书进行通信,证书类型为通配符域名类型。在阿里云的...

  • rocketmq偶尔发送慢问题

    现象: 查看生产接口调用,发现偶尔会出现接口处理慢问题,通过这笔交易日志分析,定位到发送rocketmq消息处理...

  • 动态代理

    接口中方法调用前、调用后添加业务处理,添加权限处理、日志处理 1. 实现InvocationHandler接口 2...

  • 我的swift

    1、处理内存不足的接口:didReceiveMemoryWarning //处理内存不足的接口:内存不足时,调用到...

  • 如何通过Feign实现微服务之间带token访问

    问题描述 有做权限处理的服务接口直接调用会造成调用时出现http 401未授权的错误,继而导致最终服务的http ...

  • Bad Request This combination of

    今天项目调用接口发现这个问题,百度了一圈:大体意思是说:错误请求此主机和端口的组合需要TLS。 缺少证书 这个问题...

  • 接口如何防刷

    问题 接口如何防刷 好多厂子都会问你这个问题,基本上大多数处理方式都是后端工程师对用户的接口调用次数做限制,其实可...

  • Java JDK动态代理实例

    房屋出租的接口 房东实现出租的方法 设置调用处理器,实现InvocaHandler 接口 客户端调用

网友评论

      本文标题:【keytool&SSL】CFCA 根证书缺失接口调用问题处理

      本文链接:https://www.haomeiwen.com/subject/ignxxdtx.html