alireza0 / x-ui

xray panel supporting multi-protocol multi-user expire day & traffic (Vmess & Vless & Trojan & Shadowsocks)
https://t.me/XrayUI
GNU General Public License v3.0
3.21k stars 491 forks source link

self sign SSL if you use İP instead of domain #1498

Closed ysfnsrv closed 1 week ago

ysfnsrv commented 1 month ago

Hello! I use IP instead of domain name http://192.168.77.100:54321/Q1Oyv9XVCQGa1pY How can I add pem and key file path for secure https via terminal

In UI add here Panel setting > General and this field Public Key Path | Private Key Path

Public Key Path The public key file path for the web panel. (Begins with ‘/‘) Private Key Path The private key file path for the web panel. (Begins with ‘/‘)

image

sssagsag commented 1 week ago

1-make crt and key self sign 2-upload in your root directory 3-set /root/crt.crt to public key path in panel settings 4-set /root/key.pem to private key path in panel settings