Skip to content

Configuring SSL Certificates in RStudio Workbench#

Configuring SSL certificates#

You can configure SSL/TLS certificates by editing the configuration file to point to the relevant private key and certificate files and restarting RStudio Workbench, formerly RStudio Server Pro1.

To configure SSL certificates, add the following lines to the RStudio Workbench configuration file:

File: /etc/rstudio/rserver.conf


For HTTP to HTTPS redirects to work properly, ensure that you remove the www-port option from the configuration file if you have defined it.

Then restart RStudio Workbench by running the following command:

$ sudo rstudio-server restart

When RStudio Workbench is configured to use SSL, then all HTTP traffic to port 80 will be redirected to HTTPS on port 443.

Additional documentation#

For more information on SSL certificates and other related settings, refer to the SSL Configuration section in the RStudio Workbench Administration Guide.

  1. We have renamed RStudio Server Pro to RStudio Workbench. This change reflects the product’s growing support for a wide range of different development environments. Please see our official Announcement and review our FAQ regarding the name change from RStudio Server Pro to RStudio Workbench.