r/Network • • 18d ago

Link SSL Certificate Invaild when using cellular data

I was entering a site to go on about my day, using my cellular data on IPhone 15 pro. When I was about to enter the site it said “SSL Certificate Invaild”, showing the certificate is expired and mismatched. But when I connect to wifi and try the same site, it works and the certificate is secure.

Picture 1 is when I was using cellular data, second one is the same site but I used a local wifi.

What should I do, need urgent help. Any advices is appreciated.

1 Upvotes

29 comments sorted by

9

u/Apachez 18d ago

Perhaps your cellular data ISP is trying to eavesdrop of your SSL/TLS traffic by doing SSL-termination?

0

u/Good-Scholar-1183 18d ago

I don’t think they would do that, they’re one of the most trusted ISP in my country

8

u/daronhudson 18d ago

That doesn’t stop anyone from shady behaviour. This is some kind of MITM.

2

u/mro21 16d ago

Stop believing, check and accept reality.

2

u/LegendaryBlueTwingo 13d ago

hey man, im in cybersecurity in a fairly safe country, if i saw this shit i would 100% change isp and see if i can route my dns securely

12

u/mbhmirc 18d ago

Look at the issued by they are different

4

u/RednaXelA7772 15d ago

The first certificate has expired years ago.

7

u/stroskilax 18d ago

The invalid certificate is expired from 2021.
I think you are hitting your modem/router when connecting over Cellular data instead of your reverse proxy or site.

1

u/Old_Philosophy_632 18d ago

Check what domains both certificates are for. Could be that the certificate expired, but in the wifi the Administrator is running a SSL intercept and they handle the expired certificate.

1

u/Good-Scholar-1183 18d ago

I tried multiple wifis and the certificate thing only happens with cellular data

1

u/lariojaalta890 17d ago

Does this happen every time you’re on cellular or are you getting the warnings when navigating to a site while also switching/transitioning from WiFi to cellular?

1

u/Milld0r 18d ago

What site is it?

I know that wehn I'm on WiFi at home I can access things through my reverse proxy with a local sub domain which uses a certificate with a .local certificate.

But when on cellular the reverse proxy then doesn't use the subdomain and therefore a different wildcard certificate.

Do you know if the address is changing between connections?

1

u/JasonHofmann 18d ago

Can you tap to see the full details of the invalid certificate?

1

u/RedditKilledTheApps 17d ago

Try going to http://neverssl.com, it may be some sort of captive portal / notice they're trying to inject. I use this all the time when visiting airports / hotels where the captive portal doesn't get detected correctly.

1

u/toddtimes 17d ago

Is this all websites? Or just that one?

This is caused by something directing your traffic to a server that doesn't have a valid SSL cert. It could be malware, could be some sort of VPN or security software that's old or misconfigured, or it's the carrier redirecting your traffic. You should be able to see more details on the certificate to see what server it's redirecting you to.

1

u/[deleted] 17d ago

They’re two different certificates. Are you sure you didn’t accidentally put a typo instead? (Commonly called typosquatting)

1

u/k-mcm 15d ago

www.scribd.com is using a Fastly edge cache when I look it up. Your cellular provider probably has a Fastly rack that broke, got hacked, or woke up after been powered off for 5+ years. YR2 (Let's Encrypt) is the correct certificate.

Reddit uses Fastly too.

0

u/blue-investor 18d ago

Can it be that a different cert is served on IPv4 than on IPv6?

1

u/Good-Scholar-1183 18d ago

What’s the difference between those?

2

u/No_Ear932 18d ago

Each certificate in your screengrabs is issued by a different entity.

For cellular it is AlphaSSL CA (and it expired 5 years ago).

For WiFi it is YR2 (which is valid until Jan 2027).

2

u/CauaLMF 18d ago

Não é normal ser assim, o certificado tem que ser o mesmo

1

u/teytes53 14d ago

In general, yes it can be done, AAAA and A records on DNS might point to completely different servers for same domain. The site in screenshot:  www.scribd.com - doesn't have IPv6 version at all.

0

u/Significant-Cup-5491 18d ago

Looks like there's an internal cert and external cert. Your external cert is what your cellular data is picking up. Check the IPs?

1

u/[deleted] 17d ago

[removed] — view removed comment

1

u/UMustBeNooHere 14d ago

Good lord. Do not do this.