From 3315166d067897f097f080b83e5af6c5ac56ade2 Mon Sep 17 00:00:00 2001 From: AsunaYukky <83214353+AsunaYukky@users.noreply.github.com> Date: Wed, 6 Mar 2024 11:41:03 +1100 Subject: [PATCH] changed directory from /usr/local/x-ui/ssl-srt to /root/ssl-srt, case on update first directory is deleting with all certificates --- ...cate-for-3X‐UI-webpanel-(also-if-you-don't-use-domains).md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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!