aldrichdev / neatf2p-nextjs

Next.js project/website for Neat F2P.
https://neatf2p-nextjs.vercel.app
0 stars 1 forks source link

F2P-110 | Web client fix (attempt) #126

Closed aldrichdev closed 2 months ago

aldrichdev commented 2 months ago

What's Changed

Notes

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
neatf2p-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 18, 2024 9:19pm
aldrichdev commented 2 months ago

I have scheduled a server maintenance event for next Sunday at 12:15 PM. We will need to prepare the cert in advance and be ready to put the new cert in once the game server shuts down. Do not merge this PR until just before that maintenance period.

aldrichdev commented 2 months ago

So, I have created two new files on the desktop of the server:

Both were generated using the instructions in my "Websocket Cert Info" note, which should really be made into a blog post.

However, the issuer for the .crt is DESKTOP-..., NOT neatf2p.com. I think this is because I actually created the cert on the server, so it used the computer name as the issuer. I think changing the value after CN= to neatf2p.com or www.neatf2p.com would NOT work because something wouldn't match, but it's sort of worth a shot for next week's maintenance period. I will send a message to Logg in the meantime to see what his issuer is and how he created the cert.

aldrichdev commented 2 months ago

Ok, so if you look at the security issue in Edge, Chrome, or some other browser, you will see this: image

And if you view the certificate you will see this: image

The problem is, the website, www.neatf2p.com is a secure website, and we try to access a page at 192.3.118.9 securely via HTTPS, but that doesn't make sense since it's not secure. I think we tried to use http for this page at one point, but we ran into an issue.

I think if we: