We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
支持配置 SM2 证书
已经使用 BabaSSL 编译 CGO_ENABLED=1 go build -tags=BabaSSL export LD_LIBRARY_PATH=/usr/local/BabaSSL/linux_BabaSSL_lib/lib:$LD_LIBRARY_PATH
并指定了加密套件 "tls_context": { "status": true, "cert_chain": "/home/angeek/Workspace/gm-test/certs/sm2/signcert.pem", "private_key": "/home/angeek/Workspace/gm-test/certs/sm2/signkey.pem", "cipher_suites": "ECDHE-RSA-SM4-SM3" }
但使用 SM2 证书时仍然报错 [FATAL] [mosn] [NewMosn] AddListener error:cipher ECDHE-RSA-SM4-SM3 is not supported [FATAL] [mosn] [NewMosn] AddListener error:x509: unsupported elliptic curve
看起来好像仅支持 TLS_SM4_GCM_SM3?并且不能配置 SM2 证书 希望能指导一下如何支持 SM2 证书
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The New Feature
支持配置 SM2 证书
Your scenes
已经使用 BabaSSL 编译
CGO_ENABLED=1 go build -tags=BabaSSL
export LD_LIBRARY_PATH=/usr/local/BabaSSL/linux_BabaSSL_lib/lib:$LD_LIBRARY_PATH
并指定了加密套件
"tls_context": {
"status": true,
"cert_chain": "/home/angeek/Workspace/gm-test/certs/sm2/signcert.pem",
"private_key": "/home/angeek/Workspace/gm-test/certs/sm2/signkey.pem",
"cipher_suites": "ECDHE-RSA-SM4-SM3"
}
但使用 SM2 证书时仍然报错
[FATAL] [mosn] [NewMosn] AddListener error:cipher ECDHE-RSA-SM4-SM3 is not supported
[FATAL] [mosn] [NewMosn] AddListener error:x509: unsupported elliptic curve
Your advice
看起来好像仅支持 TLS_SM4_GCM_SM3?并且不能配置 SM2 证书
希望能指导一下如何支持 SM2 证书
The text was updated successfully, but these errors were encountered: