sslv3 alert handshake failure


#1

Hello,
The following code has been working nicely from both desktop Win10 and Ubuntu PC.

library(RCurl)
link <- "https://www.kauppalehti.fi/5/i/porssi/porssikurssit/indeksit.jsp?market=XSTO"
url <- getURL(link,.opts = list(ssl.verifypeer = FALSE) )
df <- readHTMLTable(url, which=6, header = TRUE)

It still works in Ubuntu (R 3.2.3, in daily use) but now fails in Win10 (R 3.4.4, last successful run maybe 6 - 8 months ago):

library(RCurl)
link <- "https://www.kauppalehti.fi/5/i/porssi/porssikurssit/indeksit.jsp?market=XSTO"
url <- getURL(link,.opts = list(ssl.verifypeer = FALSE) )
Error in function (type, msg, asError = TRUE) :
error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

Since last successful run I use another Win10 PC, but tried it with my laptop (Win10, where it used to work as well), I get the same failure.
I know they've done changes at kauppalehti.fi site ("we are improving/developing our service..."), so propably this is because of that.
Somehow my Ubuntu can tolerate those changes but my Win10s cannot.
Is there something I can do at my Win10 side?

Br
Petri


#2

It looks like this issue might be related to your (the client) compatibility with TLS 1.2:

It might just be a matter of updating curl: