These are the commands i ran from inside the plex container:
this is a linuxserver docker container running on an unraid machine.
curl --connect-to plex.tv:34.243.110.103:443 -vI https://plex.tv
- Host plex.tv:443 was resolved.
- IPv6: (none)
- IPv4: 54.73.74.122, 63.35.89.50
- Trying 54.73.74.122:443…
- Connected to plex.tv (54.73.74.122) port 443
- ALPN: curl offers h2,http/1.1
- TLSv1.3 (OUT), TLS handshake, Client hello (1):
- CAfile: /etc/ssl/certs/ca-certificates.crt
- CApath: /etc/ssl/certs
- TLSv1.3 (IN), TLS handshake, Server hello (2):
- TLSv1.2 (IN), TLS handshake, Certificate (11):
- TLSv1.2 (IN), TLS handshake, Server key exchange (12):
- TLSv1.2 (IN), TLS handshake, Server finished (14):
- TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
- TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
- TLSv1.2 (OUT), TLS handshake, Finished (20):
- TLSv1.2 (IN), TLS handshake, Finished (20):
- SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 / prime256v1 / rsaEncryption
- ALPN: server accepted h2
- Server certificate:
- subject: CN=*.valumre.com
- start date: Jul 3 00:00:00 2024 GMT
- expire date: Aug 2 23:59:59 2025 GMT
- subjectAltName does not match plex.tv
- SSL: no alternative certificate subject name matches target host name ‘plex.tv’
- Closing connection
- TLSv1.2 (OUT), TLS alert, close notify (256):
curl: (60) SSL: no alternative certificate subject name matches target host name ‘plex.tv’
More details here: curl - SSL CA Certificates
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
; <<>> DiG 9.18.28-0ubuntu0.24.04.1-Ubuntu <<>> plex.tv
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50521
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1280
;; QUESTION SECTION:
;plex.tv. IN A
;; ANSWER SECTION:
plex.tv. 41809062 IN A 63.35.89.50
plex.tv. 41809062 IN A 54.73.74.122
;; Query time: 1 msec
;; SERVER: 10.0.0.1#53(10.0.0.1) (UDP)
;; WHEN: Thu Nov 28 22:24:21 CET 2024
;; MSG SIZE rcvd: 68
; <<>> DiG 9.18.28-0ubuntu0.24.04.1-Ubuntu <<>> @1.1.1.1 plex.tv
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53336
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;plex.tv. IN A
;; ANSWER SECTION:
plex.tv. 25 IN A 52.51.38.160
plex.tv. 25 IN A 34.243.110.103
;; Query time: 8 msec
;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP)
;; WHEN: Thu Nov 28 22:24:47 CET 2024
;; MSG SIZE rcvd: 68
cat /etc/hosts
Generated
127.0.0.1 Unraid localhost
And these are the command when i ran them straight on my unraid machine terminal:
root@Unraid:/# curl --connect-to plex.tv:34.243.110.103:443 -vI https://plex.tv
- Host plex.tv:443 was resolved.
- IPv6: (none)
- IPv4: 63.35.89.50, 54.73.74.122
- Trying 63.35.89.50:443…
- Connected to plex.tv (63.35.89.50) port 443
- ALPN: curl offers h2,http/1.1
- TLSv1.3 (OUT), TLS handshake, Client hello (1):
- CAfile: /etc/ssl/certs/ca-certificates.crt
- CApath: /etc/ssl/certs
- TLSv1.3 (IN), TLS handshake, Server hello (2):
- TLSv1.2 (IN), TLS handshake, Certificate (11):
- TLSv1.2 (IN), TLS handshake, Server key exchange (12):
- TLSv1.2 (IN), TLS handshake, Server finished (14):
- TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
- TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
- TLSv1.2 (OUT), TLS handshake, Finished (20):
- TLSv1.2 (IN), TLS handshake, Finished (20):
- SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 / prime256v1 / rsaEncryption
- ALPN: server accepted h2
- Server certificate:
- subject: CN=*.rwy.aviva.fabricfintech.com
- start date: Mar 7 00:00:00 2024 GMT
- expire date: Apr 5 23:59:59 2025 GMT
- subjectAltName does not match plex.tv
- SSL: no alternative certificate subject name matches target host name ‘plex.tv’
- Closing connection
- TLSv1.2 (OUT), TLS alert, close notify (256):
curl: (60) SSL: no alternative certificate subject name matches target host name ‘plex.tv’
More details here: curl - SSL CA Certificates
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
root@Unraid:/# dig plex.tv
; <<>> DiG 9.18.28-0ubuntu0.24.04.1-Ubuntu <<>> plex.tv
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15824
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1280
;; QUESTION SECTION:
;plex.tv. IN A
;; ANSWER SECTION:
plex.tv. 41808876 IN A 54.73.74.122
plex.tv. 41808876 IN A 63.35.89.50
;; Query time: 1 msec
;; SERVER: 10.0.0.1#53(10.0.0.1) (UDP)
;; WHEN: Thu Nov 28 22:27:27 CET 2024
;; MSG SIZE rcvd: 68
root@Unraid:/# dig @1.1.1.1 plex.tv
; <<>> DiG 9.18.28-0ubuntu0.24.04.1-Ubuntu <<>> @1.1.1.1 plex.tv
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47545
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;plex.tv. IN A
;; ANSWER SECTION:
plex.tv. 22 IN A 52.51.38.160
plex.tv. 22 IN A 34.243.110.103
;; Query time: 8 msec
;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP)
;; WHEN: Thu Nov 28 22:27:46 CET 2024
;; MSG SIZE rcvd: 68
root@Unraid:/# cat /etc/hosts
Generated
127.0.0.1 Unraid localhost
It is interesting that there seems to be different ip addresses for plex depending on the docker or the unraid it self.
my dns for the server is trough my router that is set up with 1.1.1.1 and 8.8.8.8