Skip to content
New issue

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

请问目前trojan-r是否不支持ECC算法的TLS证书? #16

Open
nivrrex opened this issue Apr 25, 2021 · 1 comment
Open

请问目前trojan-r是否不支持ECC算法的TLS证书? #16

nivrrex opened this issue Apr 25, 2021 · 1 comment

Comments

@nivrrex
Copy link

nivrrex commented Apr 25, 2021

如题,请问目前是否不支持ECC算法的TLS证书,在服务器侧运行时,提示
failed to launch proxy: tls: no valid key found
如果使用早期申请的普通算法证书,则trojan-r可以正常运行。
同时该ECC算法的证书,可以在trojan-go和xray下使用
所以怀疑是否trojan-r暂时不支持ECC算法的TLS证书?

@tr1s7an
Copy link

tr1s7an commented Aug 19, 2021

私钥格式问题,可用如下命令转换成rustls支持的格式
openssl pkcs8 -topk8 -nocrypt -in tradfile.pem -out p8file.pem
关于私钥格式详见 https://wiki.openssl.org/index.php/Command_Line_Elliptic_Curve_Operations
rustls的相关issue rustls/rustls#767

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants