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

[BUG] 无法修改XTLS的TLS设置,造成无法启动的致命错误 #592

Closed
Radium-bit opened this issue May 14, 2022 · 2 comments
Closed

Comments

@Radium-bit
Copy link
Contributor

Radium-bit commented May 14, 2022

我们知道,XTLS的配置文件字段如下

        "xtlsSettings": {
          "certificates": [
            {
              "certificateFile": "/root/.acme.sh/domain_ecc/fullchain.cer",
              "keyFile": "/root/.acme.sh/domain_ecc/domain.key"
            }
          ],
          "alpn": [
            "http/1.1"
          ]
        }

但当使用脚本进行TLS设置修改则会变成

        "xtlsSettings": {
          "certificates": [
            {
              "certificateFile": "/root/.acme.sh/domain_ecc/fullchain.cer",
              "keyFile": "/root/.acme.sh/domain_ecc/domain.key"
            }
          ],
          "alpn": [
            "http/1.1"
          ]
        }
          "tlsSettings": {
          "certificates": [
            {
              "certificateFile": "/root/.acme.sh/domain_ecc/fullchain.cer",
              "keyFile": "/root/.acme.sh/domain_ecc/domain.key"
            }

显然,脚本没检测到已有的xtlsSettings,而追加了这一段进去,结果自然是xray无法启动,格式错误。
希望尽快修复 @Jrohy

@Jrohy
Copy link
Owner

Jrohy commented May 18, 2022

新版已修复

@Radium-bit
Copy link
Contributor Author

Thanks! ( •̀ ω •́ )✧

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