Dear dataSHIELD team,
I have a question that I hope you can help me with.
We have just upgraded from dsBase 5.0.0 to dsBase 6.0.1 on our Opal server and I have some problems assigning data in dataSHIELD version 6.0.1.
I have looked at the training at https://data2knowledge.atlassian.net/wiki/spaces/DSDEV/pages/1241120778/DataSHIELD+Training+Part+1+Introduction+and+logging+in
And my script based on this tutorial is as follows:
Lists functionality currently available in DS.
server = “dnbc”
url = “https://opal.sund.ku.dk”
table = “lc_dnbc_core_2_0.2_0_core_1_0_non_rep”
driver = ‘OpalDriver’
Gathering login information
builder <- DSI::newDSLoginBuilder()
builder$append(server, url, table, resource="", driver, user, password)
logindata <- builder$build()
nonrep.vars <- c(
“child_id”, “sex”, “agebirth_m_y”, “preg_smk”, “parity_m”, “height_m”,
“prepreg_weight”, “ga_bj”, “ga_us”, “cohort_id”)
connections <- DSI::datashield.login(logins = logindata, assign = TRUE, symbol = “D”, variables=nonrep.vars)
I get the following error:
Logging into the collaborating servers
Error in curl::curl_fetch_memory(url, handle = handle) :
Peer certificate cannot be authenticated with known CA certificates
Do you have an idea as to why it is not working? I have permission to access the table on the Opal server.