panel icon indicating copy to clipboard operation
panel copied to clipboard

Wings remote error: tls: expired certificate

Open TreeHD opened this issue 4 years ago • 9 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues before opening this issue.

Current Behavior

NONE

Expected Behavior

I've using v1.5.3 Wings on aarch64

When i visit admin/nodes/view/{node_id} Panel will sent a request to Wings in order to get node status And Always return 502 Error

Wings will display http: TLS handshake error from {Panel IP}:41702: remote error: tls: expired certificate

I've trying visit admin/nodes to make sure node is GREEN HEART and browser F12 / OpenSSL Tool didn't return any ERROR about wings cert Also I very sure that AutoTLS is working

Steps to Reproduce

visit admin/nodes/view/{node_id}

Panel Version

1.6.6

Wings Version

v1.5.3

Error Logs

No response

TreeHD avatar Dec 11 '21 17:12 TreeHD

It looks like your SSL certificate has probably expired which is causing you some issues. Please double check that it is up-to-date and renew it if needed by following our guide https://pterodactyl.io/tutorials/creating_ssl_certificates.html

Additionally, not every service is able to automatically apply an updated certificate so you may need to restart Wings, NGINX, or Apache so that they will begin using the updated certificate.

come in the discord for support

QuintenQVD0 avatar Dec 11 '21 17:12 QuintenQVD0

I using browser visit https://wings.sfo.jamex.me:8080/api/system cert is working well and due date is correct ,didn't expired

Also from Panel curl to Wings:8080 Isn't return any SSL Error

So.. seems that isn't cert problem?

TreeHD avatar Dec 11 '21 17:12 TreeHD

What is the output of running wings diagnostics?

mrxbox98 avatar Dec 12 '21 06:12 mrxbox98

yea can you post here the wings and panel logs.

Panel: tail -n 100 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc bin.ptero.sh 99

Wings: sudo wings diagnostics @TreeHD

QuintenQVD0 avatar Dec 12 '21 09:12 QuintenQVD0

This is not a bug in the software, try restarting your services to make sure things propagate, but otherwise it is outside the control of Pterodactyl how your system handles and responds to certificates.

Especially when it complains that the certificate is expired.

DaneEveritt avatar Dec 12 '21 18:12 DaneEveritt

Got the problem... Panel side need to run yum install -y ca-certificates to update system cert due to Let's Encrypt ROOT Cert expired...

TreeHD avatar Dec 26 '21 13:12 TreeHD

Not working tree

duckytutorials avatar Apr 17 '22 04:04 duckytutorials

Use the following command to fix the issue sudo ifconfig eth0 mtu 1350 Or if you are on a modern version of linux that has depreceated the ifconfig command, use this: sudo ip link set dev eth0 mtu 1350

LordRhysJones avatar Apr 17 '25 23:04 LordRhysJones

Use the following command to fix the issue sudo ifconfig eth0 mtu 1350 Or if you are on a modern version of linux that has depreceated the ifconfig command, use this: sudo ip link set dev eth0 mtu 1350

Changing your network MTU has nothing to do with an expired TLS certificate.

Your issue was caused by a network mis-configuration, nothing to do with this software.

matthewpi avatar Apr 17 '25 23:04 matthewpi