Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Question SSL on LB issues

samirtvdev

Basic Member
Basic Member
Joined
Sep 15, 2021
Messages
3
Reaction score
0
Points
1
Location
Alger
Hello

I setup ssl in MAIN and LB, when MAIN stream ssl working perfectly but not in LB
when LB stream anyone picks up users (Username and Password)

nginx.conf in MAIN and LB
server {
#listen 25461;
listen 25463 ssl;
ssl_certificate /etc/ssl/MYdomain/MYdomain.crt;ssl_certificate_key /etc/ssl/MYdomain/MYdomain.key;
ssl_protocols SSLv3 TLSv1.1 TLSv1.2;


can someone help please
 
Hello

I setup ssl in MAIN and LB, when MAIN stream ssl working perfectly but not in LB
when LB stream anyone picks up users (Username and Password)

nginx.conf in MAIN and LB
server {
#listen 25461;
listen 25463 ssl;
ssl_certificate /etc/ssl/MYdomain/MYdomain.crt;ssl_certificate_key /etc/ssl/MYdomain/MYdomain.key;
ssl_protocols SSLv3 TLSv1.1 TLSv1.2;


can someone help please

this is from XUI One or xtreamcode ?

because for xui must be setup in ssl.conf

/home/xui/bin/nginx/conf/ssl.conf

keeep in mind the https have to be enabled from the panel in the server config
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Ok, if not working verify the owner that the file has usi this command

Code:
ls -ah

The owner must be xtreamcodes in your case
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Hello

I setup ssl in MAIN and LB, when MAIN stream ssl working perfectly but not in LB
when LB stream anyone picks up users (Username and Password)

nginx.conf in MAIN and LB
server {
#listen 25461;
listen 25463 ssl;
ssl_certificate /etc/ssl/MYdomain/MYdomain.crt;ssl_certificate_key /etc/ssl/MYdomain/MYdomain.key;
ssl_protocols SSLv3 TLSv1.1 TLSv1.2;


can someone help please
# Generiši self-signed certifikat

Korak 1 - Generiši certifikat

openssl req -x509 -nodes -days 3650 -newkey rsa:2048 \
-keyout /home/xtreamcodes/iptv_xtream_codes/nginx/conf/server.key \
-out /home/xtreamcodes/iptv_xtream_codes/nginx/conf/server.crt \
-subj "/C=BA/ST=FBiH/L=Sarajevo/O=IPTV/CN=$(curl -s https://ifconfig.me)"



rm /home/xtreamcodes/iptv_xtream_codes/nginx/conf/server.crt
rm /home/xtreamcodes/iptv_xtream_codes/nginx/conf/server.key

openssl req -x509 -nodes -days 3650 -newkey rsa:2048 \
-keyout /home/xtreamcodes/iptv_xtream_codes/nginx/conf/server.key \
-out /home/xtreamcodes/iptv_xtream_codes/nginx/conf/server.crt \
-subj "/C=BA/ST=FBiH/L=xxxx/O=IPTV/CN=ip adress" && \
echo "Certifikat OK" && \
/home/xtreamcodes/iptv_xtream_codes/start_services.sh


# Pokreni nginx
/home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx




# Instaliraj certbot
apt-get install -y certbot

# Zaustavi nginx privremeno
killall nginx 2>/dev/null

# Generiši certifikat za tvoju domenu
certbot certonly --standalone -d domena \
--agree-tos --no-eff-email -m here email

# Linkaj certifikate
ln -sf /etc/letsencrypt/live/domena/fullchain.pem \
/home/xtreamcodes/iptv_xtream_codes/nginx/conf/server.crt

ln -sf /etc/letsencrypt/live/domena/privkey.pem \
/home/xtreamcodes/iptv_xtream_codes/nginx/conf/server.key

# Pokreni nginx
/home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx



iptables -I INPUT -p tcp --dport 80 -j ACCEPT
killall nginx 2>/dev/null
sleep 2

certbot certonly --standalone -d domena\
--agree-tos --email here email --non-interactive

ln -sf /etc/letsencrypt/live/domena/fullchain.pem \
/home/xtreamcodes/iptv_xtream_codes/nginx/conf/server.crt

ln -sf /etc/letsencrypt/live/domena/privkey.pem \
/home/xtreamcodes/iptv_xtream_codes/nginx/conf/server.key

/home/xtreamcodes/iptv_xtream_codes/start_services.sh


dig domena +short

Ili da ne edituje ručno, pokreni ovu sed komandu:

sed -i 's/ listen 25500;/ listen 25500 ssl;\n ssl_certificate \/home\/xtreamcodes\/iptv_xtream_codes\/nginx\/conf\/server.crt;\n ssl_certificate_key \/home\/xtreamcodes\/iptv_xtream_codes\/nginx\/conf\/server.key;\n ssl_protocols TLSv1.2 TLSv1.3;\n ssl_session_cache shared:SSL:10m;\n ssl_session_timeout 1d;/' /home/xtreamcodes/iptv_xtream_codes/nginx/conf/nginx.conf

# Test i restart
/home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx -t && \
killall nginx 2>/dev/null && sleep 1 && \
/home/xtreamcodes/iptv_xtream_codes/start_services.sh
 
it's free, you have to configure nginx
I tuned it at home on the panel.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top