WeBWorK Main Forum

Library Browser => SSL error after new certificate (and now even with old certificate)

Library Browser => SSL error after new certificate (and now even with old certificate)

by Andras Balogh -
Number of replies: 4

On WeBWorK-2.14 the server certificate was updated after which we noticed this error that the Library Browser does not let us  choose a target set, or add problems to the target set. 

The error message is 

500 Can't connect to webwork.utrgv.edu:443 (SSL connect attempt failed error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol) at /app/webwork/webwork2/lib/WebworkClient.pm line 293.

Later: Error messages 
xmlrpcCall to listSetProblems returned no result for 

Old Library browser works ($showeditors{librarybrowsernojs} = 1;)

Strangely, now even if we reinstall the old certificate still we get the same error. Supposedly nothing was changed on the sever. I don't know about the university firewall.

I see a possibly related post with no resolution other than using the old Library Browser https://webwork.maa.org/moodle/mod/forum/discuss.php?d=4164 

instructorXMLHandler is also throwing similar error message.

 


In reply to Andras Balogh

Re: Library Browser => SSL error after new certificate (and now even with old certificate)

by Michael Gage -

The ajax calls using javaScript are not being accepted by the server.  Not sure why. There could be multiple reasons. 

Use the javascript debugging tools on your browser to get more information -- you should see that some requests were rejected. Perhaps they'll indicate some break in the certificate chain.


In reply to Michael Gage

Re: Library Browser => SSL error after new certificate (and now even with old certificate)

by Andras Balogh -
Thanks.

We could not find anything with javascript debugging tools but was able to get rid of the error by replacing in the ssl.conf the IP specific VirtualHost part with .
In reply to Andras Balogh

Re: Library Browser => SSL error after new certificate (and now even with old certificate)

by Andras Balogh -

The last part of my post was cut due to angle brackets.

The VirtualHost with specific IP was replaced with VirtualHost _default_:443


In reply to Andras Balogh

Re: Library Browser => SSL error after new certificate (and now even with old certificate)

by Michael Gage -
Glad you found the error. For future reference, in most browsers you can view the errors thrown
by a javaScript.

For Firefox look for Tools->web developer->web console in the menu.
in chrome: View -> Developer -> Javascript console

there are other javaScript debugging tools available in the Firefox:Tools menu as well and also in
the Chrome: View menu.