/
Secure connection to Server instructions (https)

Secure connection to Server instructions (https)

Within the Training environment

If you want to connect to the virtual training machine using the secure (https) connection:

  • Launch your web browser (or in your R script)

Note: You will get a warning when connecting to 8443 because the SSL certificate is self-signed.

  • On the warning screen, click “advanced”

  • Then click “accept risk and continue”

  • This is secure because you are connecting over a local network, so there is no danger of external threats connecting to you.

On Windows

 

If you are having problems connecting to an Opal Server over https, and are getting an error message like:
Error in curl::curl_fetch_memory(url, handle = handle) :
schannel: next InitializeSecurityContext failed: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted.

this can be resolved by changing the curl backend to openssl. This can be done by calling the R functionSys.setenv(CURL_SSL_BACKEND = "openssl") or by adding the line CURL_SSL_BACKEND=openssl to the “.Renviron” file in your R project.

Related content

Starting and Logging onto the Opal Training Servers - Cloud Training Environment
Starting and Logging onto the Opal Training Servers - Cloud Training Environment
More like this
Update or install packages on the training Opal servers
Update or install packages on the training Opal servers
More like this
Opal management
Opal management
More like this
Update or install packages on the training Opal servers v5
Update or install packages on the training Opal servers v5
More like this
Local DataSHIELD Training Environment
Local DataSHIELD Training Environment
More like this
Tutorial: how to connect to studies using Resourcer package
Tutorial: how to connect to studies using Resourcer package
More like this

DataSHIELD Wiki by DataSHIELD is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Based on a work at http://www.datashield.ac.uk/wiki