| Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
| World Community Grid Forums
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 27
|
|
| Author |
|
|
boinc127
Cruncher Joined: Jan 28, 2012 Post Count: 11 Status: Offline Project Badges:
|
I am currently using FreeBSD x86_64 10.1 stable running the BOINC client version 7.2.33. As recently as November 23, 2014 I was able to connect to the World Community Grid to crunch workunits. I just recently updated my version of Firefox to 34, which also involves updating the certificate store ca-root-nss.crt. Now I am unable to connect to WCG without it throwing the error Scheduler request failed: Peer certificate cannot be authenticated with given CA certificates. So I enabled the <http_debug> flag and got the whole picture:
Thu Dec 4 18:04:26 2014 | World Community Grid | update requested by user Thu Dec 4 18:04:29 2014 | World Community Grid | Sending scheduler request: Requested by user. Thu Dec 4 18:04:29 2014 | World Community Grid | Not requesting tasks: "no new tasks" requested via Manager Thu Dec 4 18:04:29 2014 | World Community Grid | [http] HTTP_OP::init_post(): https://scheduler.worldcommunitygrid.org/boinc/wcg_cgi/fcgi Thu Dec 4 18:04:29 2014 | World Community Grid | [http] [ID#1] Info: Connection 1 seems to be dead! Thu Dec 4 18:04:29 2014 | World Community Grid | [http] [ID#1] Info: Closing connection 1 Thu Dec 4 18:04:29 2014 | World Community Grid | [http] [ID#1] Info: Connection 0 seems to be dead! Thu Dec 4 18:04:29 2014 | World Community Grid | [http] [ID#1] Info: Closing connection 0 Thu Dec 4 18:04:29 2014 | World Community Grid | [http] [ID#1] Info: Hostname was NOT found in DNS cache Thu Dec 4 18:04:30 2014 | World Community Grid | [http] [ID#1] Info: Trying 198.20.8.246... Thu Dec 4 18:04:30 2014 | World Community Grid | [http] [ID#1] Info: Connected to scheduler.worldcommunitygrid.org (198.20.8.246) port 443 (#4) Thu Dec 4 18:04:30 2014 | World Community Grid | [http] [ID#1] Info: successfully set certificate verify locations: Thu Dec 4 18:04:30 2014 | World Community Grid | [http] [ID#1] Info: CAfile: /usr/local/share/certs/ca-root-nss.crt Thu Dec 4 18:04:30 2014 | World Community Grid | [http] [ID#1] Info: CApath: none Thu Dec 4 18:04:30 2014 | World Community Grid | [http] [ID#1] Info: SSLv3, TLS handshake, Client hello (1): Thu Dec 4 18:04:30 2014 | World Community Grid | [http] [ID#1] Info: SSLv3, TLS handshake, Server hello (2): Thu Dec 4 18:04:30 2014 | World Community Grid | [http] [ID#1] Info: SSLv3, TLS handshake, CERT (11): Thu Dec 4 18:04:30 2014 | World Community Grid | [http] [ID#1] Info: SSLv3, TLS alert, Server hello (2): Thu Dec 4 18:04:30 2014 | World Community Grid | [http] [ID#1] Info: SSL certificate problem: self signed certificate in certificate chain Thu Dec 4 18:04:30 2014 | World Community Grid | [http] [ID#1] Info: Closing connection 4 Thu Dec 4 18:04:30 2014 | World Community Grid | [http] HTTP error: Peer certificate cannot be authenticated with given CA certificates Thu Dec 4 18:04:31 2014 | World Community Grid | Scheduler request failed: Peer certificate cannot be authenticated with given CA certificates Does anyone have any suggestions on how to fix this issue? Thanks in advance. Jeremy |
||
|
|
Morgano
Cruncher Joined: Apr 3, 2007 Post Count: 5 Status: Offline Project Badges:
|
I see the same error on Mageia 5 beta (getting continuous updates) ans as per link below it also happens other distros. I have boinc 7.2.42 installed by Mageia package.
( I have over two hundred WCG results to upload and some are getting past deadline. - While other projects like climateprediction and malariacontrol runs fine. ) For me it started some days ago: all World Community grid projects get on upload "self signed certificate in certificate chain" error (viewable after increasing the logging - for new readers see instructions at http://boinc.berkeley.edu/wiki/Client_configuration ). I now searched and found your post here, but also this explantions and solutions: http://www.worldcommunitygrid.org/forums/wcg/viewthread?thread=15682 I do not have time to try just now, but see if this helps you and possibly add to that thread or here. And maybe inform the distro packager. I will try do the same later. Besides, someone ougt to bost a bug agaisnt BOINC for showing "transient error" fooling the users to think it will probably solve itself! |
||
|
|
Morgano
Cruncher Joined: Apr 3, 2007 Post Count: 5 Status: Offline Project Badges:
|
I found out that boinc is using mageia default ca-bundle.crt certificate file.
Where is a good place to get a ca-bundle.crt file that WCG is happy with? - there are links in the last link i gave pointing to threads where they download ca-bundle.crt but today these links are all broken. WORKAROUND - works for me I resorted to downloading a standard boinc build, and extract the ca-bundle.crt from it and place it in the data folder. Also see my https://bugs.mageia.org/show_bug.cgi?id=14751#c3 |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Thnks for working through this and posting your step-by-step solution to get a good ca-bundle.crt in place. With your permission will substitute these in the linked FAQ.
Crowd Crunch On. P.S. Mageia is most definitely a new Linux distro to me. Probably even more rare than FreeBSD in the distributed computing world. |
||
|
|
Morgano
Cruncher Joined: Apr 3, 2007 Post Count: 5 Status: Offline Project Badges:
|
Hi SekeRob,
yes please update the FAQ :) ( Actually i was trying to figure out how to PM you about that but did not find out how to... ) If we could ask boinc developers to put up a good ca-bundle.crt somewhere easily reachable and point to it it would be even better. Maybe you know someone to poke about that? I have been running mandrake->mandriva->mageia as main systems since 2006 at work and home. I am very satisfied. It has a lot of out of the box functionality and manages to be both "simple" and "technical", configurable. :) Mageia was forked from Mandriva when half of the developers did not agree with the partly commercial management/heading of Mandriva/Rosa, and wanted a more community based stable environment. |
||
|
|
boinc127
Cruncher Joined: Jan 28, 2012 Post Count: 11 Status: Offline Project Badges:
|
You are exactly right. Replacing the ca-root-nss.crt file was the way to fix the issue. Unfortunately, for FreeBSD, the location of the certificate bundle is hard coded into the BOINC client via the libcurl.so library. I have to physically rename the /usr/local/share/cert/ca-root-nss.crt file everytime I want to use the BOINC version to communicate with WCG, and then rename the current version to surf the internet. Perhaps Firefox has a manual way to use the current certificate bundle with a different name while BOINC can use the old bundle with the hardcoded name. It isn't enough to just put the BOINC version in my data directory. The BOINC client ignores that file completely.
Of course the proper way would be to push it up to the Mozilla developers and tell them their certificate bundle doesn't work correctly with WCG, but I'm not sure how responsive they will be. In either case, it is definitely not a user friendly process at all, and I'm very wary of using old certificates while on the internet. I'm not exactly sure how I'm going to proceed with this issue. |
||
|
|
Morgano
Cruncher Joined: Apr 3, 2007 Post Count: 5 Status: Offline Project Badges:
|
boinc127, talk to the FreeBSD BOINC packager about the problem.
Maybe they can fix so it works like the mageia package; use a cert file in boinc data directory if it exist and only if not, fall back to the distros file. |
||
|
|
Jord
Advanced Cruncher Joined: Dec 30, 2005 Post Count: 148 Status: Offline Project Badges:
|
I've had contact over this with the BOINC developers.
----------------------------------------The problem seems to be that the path to the certificate is only available at '/usr/local/share/cert/ca-root-nss.crt'. To get this to change, does need the package maintainer of BOINC for FreeBSD. We haven't a clue who that is. But reading the maintainer list, you either have to email ports at freebsd dot org, or more specific for this since it's a bug, freebsd-ports-bugs at FreeBSD dot org
Tears in my eyes
How they fall like rain to the floor |
||
|
|
lrosenman
Cruncher US Joined: Sep 15, 2010 Post Count: 3 Status: Offline Project Badges:
|
I've sent a note to gecko@FreeBSD.org (the maintainer of the ca_root_nss port that provides the ca-root-nss.crt file).
----------------------------------------with copies both from their current port and the one from the latest boinc self-extracting shell script. Hopefully they will answer and get it fixed. [Edit 1 times, last edit by lrosenman at Dec 20, 2014 10:03:09 PM] |
||
|
|
boinc127
Cruncher Joined: Jan 28, 2012 Post Count: 11 Status: Offline Project Badges:
|
Thanks all for your prompt attention to the matter.
I guess since there isn't a maintainer for the boinc-client port it will probably sit until someone decides to look into it. I would look into it but I don't have enough experience programming, just enough to hack (BS) my way through some simple errors that I can fix myself. At least the issue has been identified and a workaround has been established. Hopefully this will help others out if they run into this issue as well. |
||
|
|
|