flatpak.github.io icon indicating copy to clipboard operation
flatpak.github.io copied to clipboard

SSL certificate with incorrect domain used for https://www.flatpak.org URL

Open ellenfieldn opened this issue 10 months ago • 1 comments

Summary

If rather than https://flatpak.org, a user visits https://www.flatpack.org, an SSL cert for *.apps.openshift.gnome.org will be used rather than the expected flatpak.org domain.

I tried a few variants and included a quick breakdown of valid vs. invalid certificates by URL.

  • As far as I can tell, errors occur with all https://www. variants.
  • Additionally, errors occur at https://flatpak.org/, but only for that specific URL with a slash at the end.
  • Aside from the above, https://flatpak.org and all its subpages appear to use the correct certificate.

I also included a full breakdown of the URLs i tried below the screenshots in the details.

Details

I stumbled on this accidentally while clicking a link to https://www.flatpak.org from documentation elsewhere:

Image

Inspecting the certificate shows a wildcard cert of *.apps.openshift.gnome.org

Image

Full breakdown

Given the case with the / at the end of the domain, I also checked a few URLs in addition the base URL:

  • ✅ https://flatpak.org/about (redirects to /about/)
  • ✅ https://flatpak.org/about/
  • ❌ https://www.flatpak.org/about/
  • ✅ https://flatpak.org/setup (redirects to /setup/)
  • ✅ https://flatpak.org/setup/
  • ❌ https://www.flatpak.org/setup/
  • ✅ https://flatpak.org/setup/Manjaro
  • ✅ https://flatpak.org/setup/Manjaro/ (redirects to /setup/Manjaro)
  • ❌ https://www.flatpak.org/setup/Manjaro

ellenfieldn avatar Jan 19 '25 16:01 ellenfieldn

I can confirm this issue. Some of the pages indeed seem to use a certificate for *.apps.openshift.gnome.org. Probably a CDN issue?

/cc @barthalion

AsciiWolf avatar Jan 19 '25 17:01 AsciiWolf

This is fixed now.

barthalion avatar Sep 01 '25 10:09 barthalion