diff --git a/How-to-create-self‐signed-SSL-certificate-for-3X‐UI-webpanel-(also-if-you-don't-use-domains).md b/How-to-create-self‐signed-SSL-certificate-for-3X‐UI-webpanel-(also-if-you-don't-use-domains).md index e515114..124a017 100644 --- a/How-to-create-self‐signed-SSL-certificate-for-3X‐UI-webpanel-(also-if-you-don't-use-domains).md +++ b/How-to-create-self‐signed-SSL-certificate-for-3X‐UI-webpanel-(also-if-you-don't-use-domains).md @@ -5,7 +5,7 @@ Solution - make self-signed certificate for my IP address.
## Lets do this!
Go to server bash.
I create folder inside /usr/local/x-ui/ directory for cert's.
-`cd /usr/local/x-ui`
+`cd /root`
`mkdir ssl-srt`
`cd ssl-srt`
Next step - create certificates. I make it for 10 years, if you need more or less - just change -days option.
@@ -22,7 +22,7 @@ Let's unlock it!
`openssl rsa -in key.pem -out key.un.pem -passin pass:YOUR PASS PHRASE`
![image](https://github.com/MHSanaei/3x-ui/assets/83214353/bd8609f5-7ac1-4831-ac36-b32e46f8a282)
## And the final round - install it into the WebPanel.
-![image](https://github.com/MHSanaei/3x-ui/assets/83214353/5268e88a-d7fa-4429-93ba-f07ea3958ca4) +![image](https://github.com/MHSanaei/3x-ui/assets/83214353/0430fd04-3722-4883-be35-b44cd5fdfc2b) ## 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!