Plumber: Serving Plumber api endpoints on HTTPS SSL

Created on 18 May 2017  路  4Comments  路  Source: rstudio/plumber

I am using RApache (Apache server with R_mod) and I'm using plumber to create api endpoints for my web application. RApache server is hosted on HTTPS (SSL). But, when i use plumber api, it is creating endpoint on http://{{some-port}}

Is it possible to serve plumber APIs on https so that my server can communicate easily with client?

Any suggestions appreciated.
Thanks

will not fix

Most helpful comment

My suggestion would be to run plumber behind an HTTP server (nginx, Apache), because they are really good at https, that's what they are build for. If you worry about security, I would say it is better to use something many others apply than re-implementing this in plumber (even not knowing the efforts required for that).

All 4 comments

Yes. Plumber itself doesn't do SSL but you can have a service in front of plumber that terminates SSL.

See https://plumber.trestletech.com/docs/digitalocean/ for the easiest way to setup a plumber server with SSL on DigitalOcean, or you can look at the implementation of those commands to see how to do it on your own server.

Is there any chance of this being implemented in the future? I am looking to use plumber in an enterprise environment so encryption is really important.

My suggestion would be to run plumber behind an HTTP server (nginx, Apache), because they are really good at https, that's what they are build for. If you worry about security, I would say it is better to use something many others apply than re-implementing this in plumber (even not knowing the efforts required for that).

Does anybody have a solution for https when using Docker to deploy plumber?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jeffkeller87 picture jeffkeller87  路  6Comments

trestletech picture trestletech  路  5Comments

alexzaytsev-newsroomly picture alexzaytsev-newsroomly  路  6Comments

Amalabdu picture Amalabdu  路  6Comments

Jube-Dev picture Jube-Dev  路  3Comments