Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#17285 - {bbs} Possible to log into bbs via https?
Attached to Project:
Arch Linux
Opened by rick (codeblock) - Wednesday, 25 November 2009, 20:51 GMT
Last edited by Jan de Groot (JGC) - Thursday, 19 August 2010, 10:50 GMT
Opened by rick (codeblock) - Wednesday, 25 November 2009, 20:51 GMT
Last edited by Jan de Groot (JGC) - Thursday, 19 August 2010, 10:50 GMT
|
DetailsWhy is it impossible to log into the bbs (or any other section of the website) via https? I log in from remote networks sometimes, and am weary of typing my password over plain http. It seems very trivial to add this, and other forums (like the FreeBSD forums) support this without question.
|
This task depends upon
Closed by Jan de Groot (JGC)
Thursday, 19 August 2010, 10:50 GMT
Reason for closing: Implemented
Additional comments about closing: HTTPS access is possible now, certificate is an officially signed one now.
Thursday, 19 August 2010, 10:50 GMT
Reason for closing: Implemented
Additional comments about closing: HTTPS access is possible now, certificate is an officially signed one now.
Anyway: I think it should be possible to use such an cacert certificate for the whole site optionally (means http without ssl will still be available). Every browser in our repo is able to validate it by default.
PS:it would also be a valid replacement for our dev site.
If we go ahead with this, are we going to move everything to https, or just logins for each subsite?
I mean, new users are going to end up at the http:// site, right?
Anyway I just wanted to throw in, the way the FreeBSD forums does it, is default to http, but if you add the 's' manually, the entire session will be secured. So I just add the s, then go to the login page, and login and procede to use the forums. This seems like a viable solution here, which should be trivial to accomplish. Right now on here, adding the 's' makes it load a 'dev' site - Why not change that to https://dev.archlinux.org or something and then do something like I said above.
I'm unable to access bbs, wiki, bugs and aur using https. If I open any of: https://bbs.archlinux.org/ https://wiki.archlinux.org/ https://bugs.archlinux.org/
and accept the certificate all I get is secure archlinux.org mainpage.
As all of those hosts share same IP it looks like problem with apache vhost configuration. Even that some pages states its impossible to have vhost with SSL it should be possible to fix this problem without another IP or expensive certificates. Please see following:
http://wiki.apache.org/httpd/NameBasedSSLVHosts
http://wiki.cacert.org/CSRGenerator
http://wiki.cacert.org/VhostTaskForce
with apache 2.2.12 we have another option - SNI. I just tried it with fresh apache insatall and it seems to work - different certificates for different vhosts (not all browsers are supported)
http://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI
http://en.wikipedia.org/wiki/Server_Name_Indication
With correct apache configuration we should be able to access mentioned sites using https even with current (selfsigned) certificate.
As for CA: I think CAcert is a nice option. If we use a certificate with subjectAltName fields it should to work flawlessly with most of the browsers.
http://wiki.cacert.org/VhostTaskForce#Interoperability_Test
And last:
aur.archlinux.org is not accessible using https at all; it is hosted on a different server, though.
Let say that I arrive on the SSL version of the forum (https://bbs.archlinux.org/) and then I want to have a look a the homepage I will be redirected to the unsecure webpage.
Otherwise if I come from the secured homepage (https://www.archlinux.org/) I am directed to "packages" and "Download" in SSL and not for the rest (wiki. forum, bugs, aur)
* After login on https://bbs.archlinux.org it redirects to http not https
* Navigation bar style on https://bbs.archlinux.org is missing (not served via https I guess)
And the ones mentioned already by notch and lymphatic:
* https://aur.archlinux.org does not work at all
* Some links in navigation bars (all sites) point to http not https.
Who is looking at fixing these?
I just took it one step further and fixed the bbs base URL to be https instead of http. I also enforced redirections from http to https for the bbs. The other vhosts don't enforce https yet, I am waiting whether any problems appear with bbs. However, as far I know, bugs and wiki work just fine with https, they do not redirect you back to http.
Next task is to add (for now optional) https to AUR.
@Aaron: It seems our certificate will expire end of August, can you have a look?
* As before, on all sites, some links in the navigation bars (and the Arch logo) point to http not https.
* On the AUR homepage, 3 links to the wiki point to http not https.
* On AUR "Package Details" pages, dependencies from archlinux.org/packages are linked via http not https (AUR deps are https though).
I didn't edit any of the webapps. And I think that it shouldn't be necessary to navigate www.archlinux.org with https.
> * On the AUR homepage, 3 links to the wiki point to http not https.
Same here. You can report this to the AUR devs, they could check whether you use AUR via https and adjust the wiki links to https, too.
> * On AUR "Package Details" pages, dependencies from archlinux.org/packages are linked via http not https (AUR deps are https though).
This is similar, the internal AUR links are based on the URL you are using, while the ones to the homepage are hardcoded to http://www.archlinux.org/... This can be fixed in AUR, you could file a bug for these issues. I am unfamiliar with AUR code and do not intend to mess with it.
Understood.
>And I think that it shouldn't be necessary to navigate www.archlinux.org with https.
You mean shouldn't be compulsory? I actually do favour enforcing https on all vhosts. Cleaning up the navbar and AUR links also would be simpler then. Perhaps add a very bare landing page with instructions for people with badly configured browsers.
The page you've been trying to access was blocked.
The detected certificate validation mismatch is:
-Hostname does not match Certificate name
-Hostname does not match Certificate name
-Certificate not trusted
Transaction ID is 4C4402604C66500DD7F8.
"I mean, new users are going to end up at the http:// site, right?"
Is there going to be further initiatives to make this happen (Dan mentioned something about a bit more work)? Or are we going to stick to https-only for bbs?
I'm not well-versed with the web side of things but from what I've seen and heard so far is that https takes a little more time to initiate, so some users get annoyed if they're redirected to a secure connection when they just want to browse (and not do anything requiring authentication), especially on slow connections. I've also heard about there being no option to have both http and https for bbs, so this might be a technical limitation.
I get a message that "bbs.archlinux.org:443 is using an illegal certificate. The certificate
could not be trusted because the issuer could not be trusted. Errorcode: sec_error_untrusted_issuer"
(translated from german) and the following:
Detailed Message
VERIFY DENY: depth=1, (19) self signed certificate in certificate chain: "CA Cert Signing Authority"
VERIFY DENY: depth=1, "CA Cert Signing Authority" (CA explicitely denied)
In any case, we'll very soon get a more accepted certificate instead of the CACert one for the time being.
we could ask some on the major enterprices (i.e VeriSign, ipsca, etc) and check if any of those is interested in the proposal. if they don't, we could try the ca-certificates thingy.