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

Support HTTPS requests to expath.org #1

Open
joewiz opened this issue May 18, 2019 · 9 comments
Open

Support HTTPS requests to expath.org #1

joewiz opened this issue May 18, 2019 · 9 comments

Comments

@joewiz
Copy link
Member

joewiz commented May 18, 2019

HTTPS requests to https://expath.org return warnings like:

This server could not prove that it is expath.org; its security certificate is from cloud.fgeorges.org. This may be caused by a misconfiguration or an attacker intercepting your connection.

Certificate for <expath.org> doesn't match any of the subject alternative names: [cloud.fgeorges.org]

Would it be possible to adjust the configuration for the expath.org server to support HTTPS requests?

@ChristianGruen
Copy link
Member

Hi @fgeorges, are you still around?

@fgeorges
Copy link
Member

Hi @ChristianGruen. Thanks for the reminder. This issue is actually fixed, but I never closed it. Thank you, @joewiz for reporting it.

@ChristianGruen
Copy link
Member

Thanks, Florent, great to hear from you.

I've decided to reopen the issue as various pages are not correctly displayed. See e.g. https://expath.org/spec/file

Do you think this could be fixed?

@fgeorges
Copy link
Member

Ah, missed that (always used the HTTP version.) The problem is that the specs, maintained at https://github.com/expath/expath-cg/, are not ready to be served as HTTPS. In particular, the file https://github.com/expath/expath-cg/blob/master/specs/file/file-1.0.html (and probably the other versions as well as the other specs, but this is the one corresponding to the URL you pasted,) that files includes a link to http://www.w3.org/StyleSheets/TR/base.css.

The browser rejects it, it does not want to load a CSS file through HTTP from a page under HTTPS. It can be changed to //www.w3.org/StyleSheets/TR/base.css instead (by removing the scheme altogether,) then it should work (unless there is another such case, but I didn't see any.)

Can you do it, as the editor of the "File" spec?

@ChristianGruen
Copy link
Member

Ah, missed that (always used the HTTP version.) The problem is that the specs, maintained at https://github.com/expath/expath-cg/, are not ready to be served as HTTPS. In particular, the file https://github.com/expath/expath-cg/blob/master/specs/file/file-1.0.html (and probably the other versions as well as the other specs, but this is the one corresponding to the URL you pasted,) that files includes a link to http://www.w3.org/StyleSheets/TR/base.css.

The browser rejects it, it does not want to load a CSS file through HTTP from a page under HTTPS. It can be changed to //www.w3.org/StyleSheets/TR/base.css instead (by removing the scheme altogether,) then it should work (unless there is another such case, but I didn't see any.)

Can you do it, as the editor of the "File" spec?

Thanks for the hint. I have fixed the URLs of the File Module and the .xsl files in expath/expath-cg#137, do you think it can be merged?

As it will be difficult to reach the editors of all other specs, can we possibly globally replace all affected URLs in the repository?

@ChristianGruen
Copy link
Member

Hi @fgeorges, could you please give me an update if the PR can be merged? Thanks in advance!

@ChristianGruen
Copy link
Member

@fgeorges Sorry to be pushy, but how can we take this further?

@joewiz
Copy link
Member Author

joewiz commented Jun 22, 2024

I came across an affected page today: https://expath.org/spec/pkg.

I would love to be able to read the text on these pages and share links with people who would find their content readable.

@fgeorges I see that @ChristianGruen has prepared a PR that addresses this. If it's not too much trouble, could this be merged and applied to the expath.org server? Thank you!

@joewiz
Copy link
Member Author

joewiz commented Jun 22, 2024

p.s. To illustrate the issue, here is how the page looks when visiting https://expath.org/spec/pkg:

Screenshot 2024-06-22 at 14 51 44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants