mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-29 18:52:08 +03:00
changed directory from /usr/local/x-ui/ssl-srt to /root/ssl-srt, case on update first directory is deleting with all certificates
+2
-2
@@ -5,7 +5,7 @@ Solution - make self-signed certificate for my IP address.<br />
|
||||
## Lets do this!<br />
|
||||
Go to server bash.<br />
|
||||
I create folder inside /usr/local/x-ui/ directory for cert's.<br />
|
||||
`cd /usr/local/x-ui`<br />
|
||||
`cd /root`<br />
|
||||
`mkdir ssl-srt`<br />
|
||||
`cd ssl-srt`<br />
|
||||
Next step - create certificates. I make it for 10 years, if you need more or less - just change -days option.<br />
|
||||
@@ -22,7 +22,7 @@ Let's unlock it! <br />
|
||||
`openssl rsa -in key.pem -out key.un.pem -passin pass:YOUR PASS PHRASE` <br />
|
||||
 <br />
|
||||
## And the final round - install it into the WebPanel.<br />
|
||||

|
||||

|
||||
|
||||
## Final
|
||||
After save and reboot Webpanel you will take an error about self-signed certificate, just ignore it. But, you will not see TLS error inside - your connection will be encrypted! <br />
|
||||
|
||||
Reference in New Issue
Block a user