Skip to content

Configuring SSL Certificates in Posit Workbench#

RStudio is now Posit!

Our professional products have been renamed to Posit Connect, Posit Workbench, Posit Package Manager, Posit Cloud, and Posit Academy so it’s easier for folks to understand that we support more than just R. Please review our Blog post/FAQ to answer commonly asked questions about the rebrand.

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 Posit Workbench, formerly RStudio Workbench.

To configure SSL certificates, add the following lines to the 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 Workbench by running the following command:

$ sudo rstudio-server restart

When 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 Workbench Administration Guide.