FranzKafkaYu / x-ui

Lightweight Xray panel with multi-protocol and multi-user on the same port,supports English language and Telegram bot. Easy to use and easy to manage.
GNU General Public License v3.0
7.99k stars 1.62k forks source link

Panel certificate key file path #383

Closed DoodleKhan closed 1 year ago

DoodleKhan commented 1 year ago

Welcome

Description of the problem,screencshot would be good

I have installed X-UI with the Docker image of enwaiax/x-ui:alpha-zh I am trying to give the certificate file path to the panel but no file path works! error pops saying similar to this message . just link will change in the message: " cert file </root/x-ui/cert/cert.crt> or key file </root/x-ui/cert/private.key> invalid: open /root/x-ui/cert/cert.crt: no such file or directory"

Actual location of private.key and cert.crt is as bellow: /root/x-ui/cert/private.key /root/x-ui/cert/cert.crt

I have tested all following: cert/cert.crt /cert/cert.crt x-ui/cert/cert.crt. and all combinations what link shall i provide for panel? and what link for connections?? can i replace the files with cloudflare issued certificates ? if u consider * as cert.crt or Private.key following links are tested and not working . e

Version of x-ui

```console $ x-ui version # Paste output here ```

x-ui log or xray log

```console # paste log here ```
FranzKafkaYu commented 1 year ago

You need map cert files in docker with the real path and ensure you have the permission to read it.So I suggest you install x-ui directly to check whether it can work,then you can switch to docker.