Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expired certificate for https://doc.qgis.org/ #499

Closed
agiudiceandrea opened this issue Dec 11, 2024 · 13 comments
Closed

Expired certificate for https://doc.qgis.org/ #499

agiudiceandrea opened this issue Dec 11, 2024 · 13 comments
Assignees
Labels
Size 2 Give me 2 hours and I will have it for you.

Comments

@agiudiceandrea
Copy link
Contributor

agiudiceandrea commented Dec 11, 2024

URL

https://doc.qgis.org/

On what type of device(s) did you see this bug?

No response

On which operating system(s) are you seeing the problem?

No response

Other OS

No response

On which browser(s) are you seeing the problem?

No response

Other Browser

No response

Summary

https://doc.qgis.org/ (instead of https://docs.qgis.org/) appears as the first result in some Google searches e.g. https://www.google.com/search?q=qgis+processing+coveragevalidate
The certificate for https://doc.qgis.org/ expired on August 2024.

See https://lists.osgeo.org/pipermail/qgis-user/2024-December/055040.html.

@Xpirix
Copy link
Collaborator

Xpirix commented Dec 12, 2024

Hi @agiudiceandrea , thanks for reporting this.

Hi @timlinux, I think we should also check this later along with others once we have the migration sorted out.

@agiudiceandrea
Copy link
Contributor Author

Should it be possible to just redirect doc.qgis.org to docs.qgis.org?

@Xpirix
Copy link
Collaborator

Xpirix commented Dec 19, 2024

Should it be possible to just redirect doc.qgis.org to docs.qgis.org?

I think both doc.qgis.org and docs.qgis.org are redirected to the same page, which is https://www.qgis.org/resources/hub/.

However, the domain doc.qgis.org probably points to another server where the certificate is not maintained anymore and then redirected to http://www.qgis.org/en/docs/index.html which goes finally to https://www.qgis.org/resources/hub/ (See the curl result below).

So we think it's more careful to check the server and the domain itself (if it's been used somewhere else) before updating it.

$ curl -k https://doc.qgis.org
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="http://www.qgis.org/en/docs/index.html">here</a>.</p>
<hr>
<address>Apache/2.4.54 (Debian) Server at doc.qgis.org Port 443</address>
</body></html>

@m-kuhn
Copy link
Member

m-kuhn commented Jan 12, 2025

Did we find out which server this is?

@agiudiceandrea
Copy link
Contributor Author

@Xpirix, when an URL like https://doc.qgis.org/3.34/en/docs/user_manual/index.html is used, then there is no redirection.
The IP address from Italy is 195.201.96.242, actually Cloudflare.

@timlinux
Copy link
Member

As discussed today:

@Xpirix to add rewrite rules on qgis.org

@timlinux to update dns for doc.qgis.org and documentation.qgis.org to point to 95.217.26.231 (our floating IP for QGIS.org) and the redirect rules will take you down to the docs page on the main site.

@agiudiceandrea
Copy link
Contributor Author

Please see also #421.

@agiudiceandrea
Copy link
Contributor Author

agiudiceandrea commented Jan 13, 2025

@Xpirix
Copy link
Collaborator

Xpirix commented Jan 14, 2025

@agiudiceandrea Yes, that's right and I think these are expected for now according to the status below:

Current status

Migration Plan

Cc @m-kuhn , @timlinux
Also replying #421 and #339

  • Currently, there are some resources along the documentation and the old site (www2.qgis.org) that are sharing the same server
  • We will port the build logic of the docs website to the main website, and migrate to a declarative, GitOps model based on CI/CD, ensuring a modern, efficient infrastructure.
  • The old servers, domains, and repositories will be turned off once the migration is complete.

@timlinux Perhaps we should retry to renew the certificates for https://www2.qgis.org (or eventually redirect it) for now.

@m-kuhn
Copy link
Member

m-kuhn commented Jan 14, 2025

Thanks a lot for the fix @Xpirix !
If I could wish I'd redirect docs.qgis.org the same way as docs.qgis.org/latest does

@Xpirix
Copy link
Collaborator

Xpirix commented Jan 14, 2025

My pleasure @m-kuhn , actually, it was mainly @timlinux who was in the action.

If I could wish I'd redirect docs.qgis.org the same way as docs.qgis.org/latest does

Do you mean redirect docs.qgis.org to https://docs.qgis.org/3.34/en/docs/ instead of https://www.qgis.org/resources/hub/?
It should be possible (should be done from the docs server).

@Xpirix Xpirix moved this to In Progress in QGIS Websites Maitenance Jan 14, 2025
@m-kuhn
Copy link
Member

m-kuhn commented Jan 14, 2025

Exactly, and in the close future to 3.40.

@Xpirix
Copy link
Collaborator

Xpirix commented Jan 14, 2025

All right, I will create an issue for that.

@Xpirix Xpirix added the Size 2 Give me 2 hours and I will have it for you. label Jan 14, 2025
@Xpirix Xpirix moved this from In Progress to Done in QGIS Websites Maitenance Jan 14, 2025
@Xpirix Xpirix closed this as completed Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size 2 Give me 2 hours and I will have it for you.
Projects
Development

No branches or pull requests

4 participants