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

可否新增选择自动申请ecc证书或rsa证书的选项 #264

Closed
avsba001 opened this issue Jan 23, 2024 · 5 comments
Closed

可否新增选择自动申请ecc证书或rsa证书的选项 #264

avsba001 opened this issue Jan 23, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@avsba001
Copy link

如上所述,因项目集成度非常高(二进制执行文件和DB数据库),我貌似没有找到能修改类似acme.sh命令的地方。
而ecc证书在兼容性上看貌似还不错(除了WINXP)

@avsba001 avsba001 added the enhancement New feature or request label Jan 23, 2024
@0xJacky
Copy link
Owner

0xJacky commented Jan 23, 2024

项目没有用到 acme.sh,用的是 lego。我看好像支持 EC256 和 EC384

https://github.com/go-acme/lego/blob/7fd17042823a3f1f33375db021b343b9d5c347f2/certcrypto/crypto.go#L26

目前是强制 RSA2048 了

config.Certificate.KeyType = certcrypto.RSA2048

@avsba001
Copy link
Author

换句话说,除了自己编译,或者是看项目组有没有计划了对吧?

@0xJacky
Copy link
Owner

0xJacky commented Jan 27, 2024

精力有限,下个测试版主要修复 bug,如果等不及可以尝试自己编译

@avsba001
Copy link
Author

感谢解惑

0xJacky added a commit that referenced this issue Feb 13, 2024
@0xJacky
Copy link
Owner

0xJacky commented Feb 13, 2024

已在 v2.0.0-beta.15 中添加这个功能。

@0xJacky 0xJacky closed this as completed Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants