bjdgyc / anylink

AnyLink是一个企业级远程办公 ssl vpn 软件,可以支持多人同时在线使用。基于 openconnect 协议开发,并且借鉴了 ocserv 的开发思路,可以完全兼容 AnyConnect 客户端。
GNU Affero General Public License v3.0
1.62k stars 388 forks source link

增加证书相关功能 #226

Closed wsczx closed 1 year ago

wsczx commented 1 year ago
codecov-commenter commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: -1.38 :warning:

Comparison is base (df52087) 20.54% compared to head (19e99b7) 19.16%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #226 +/- ## ========================================== - Coverage 20.54% 19.16% -1.38% ========================================== Files 61 63 +2 Lines 3812 4086 +274 ========================================== Hits 783 783 - Misses 2907 3181 +274 Partials 122 122 ``` | [Impacted Files](https://codecov.io/gh/bjdgyc/anylink/pull/226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc) | Coverage Δ | | |---|---|---| | [server/admin/api\_cert.go](https://codecov.io/gh/bjdgyc/anylink/pull/226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc#diff-c2VydmVyL2FkbWluL2FwaV9jZXJ0Lmdv) | `0.00% <0.00%> (ø)` | | | [server/admin/server.go](https://codecov.io/gh/bjdgyc/anylink/pull/226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc#diff-c2VydmVyL2FkbWluL3NlcnZlci5nbw==) | `0.00% <0.00%> (ø)` | | | [server/dbdata/cert.go](https://codecov.io/gh/bjdgyc/anylink/pull/226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc#diff-c2VydmVyL2RiZGF0YS9jZXJ0Lmdv) | `0.00% <0.00%> (ø)` | | | [server/dbdata/db.go](https://codecov.io/gh/bjdgyc/anylink/pull/226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc#diff-c2VydmVyL2RiZGF0YS9kYi5nbw==) | `6.00% <0.00%> (-2.00%)` | :arrow_down: | | [server/dbdata/setting.go](https://codecov.io/gh/bjdgyc/anylink/pull/226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc#diff-c2VydmVyL2RiZGF0YS9zZXR0aW5nLmdv) | `0.00% <ø> (ø)` | | | [server/handler/server.go](https://codecov.io/gh/bjdgyc/anylink/pull/226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc#diff-c2VydmVyL2hhbmRsZXIvc2VydmVyLmdv) | `0.00% <0.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

monlor commented 10 months ago

现在证书有三个地方都可以配置,server.toml配置文件,ui上传证书,ui配置Let's Encrypt,那实际生效的证书是优先取哪一个呢?

wsczx commented 10 months ago

没有优先级,上传和Let's Encrypt会覆盖配置文件里面设置的证书文件