question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add HTTPS support

See original GitHub issue

Some users would like to be able to server Streamlit apps via HTTPS even when the server is being accessed directly (as opposed to through an SSL load balancer, for example).

This is simple to do in Tornado, we just need the user to provide two pieces of information:

[server]
sslCertFile = '/path/to/the/cert/file'
sslKeyFile = '/path/to/the/key/file'

PS: If you’re working on this issue don’t forget to make the websocket connection secure too!


Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.

If you’d like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:32
  • Comments:29 (1 by maintainers)

github_iconTop GitHub Comments

12reactions
Jazzer9Fcommented, Mar 22, 2020

I’m out of my depth here, any tutorial/pointers on how to do get https support on streamlit on a simple webserver?

6reactions
hperrotcommented, Jun 13, 2020

https://github.com/suyashkumar/ssl-proxy

This sounds pretty simple and works like a charm.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to add HTTPS to your website for free in 10 minutes, and ...
Force HTTPS Everywhere. Once you've gone HTTPS, you definitely want to prevent users from accessing your site over an insecure connection. You ...
Read more >
Use Hypertext Transfer Protocol Secure (HTTPS) on your ...
Hypertext Transfer Protocol (HTTP) is a set of rules browsers use to determine how to read and transfer data over the web. When...
Read more >
Enabling HTTPS on your servers - web.dev
If you don't already have HTTPS service available on your servers, enable it now (without redirecting HTTP to HTTPS; see below).
Read more >
The Complete Guide To Switching From HTTP To HTTPS
Find an HTTPS certificate vendor. Select a type of certificate (DV, OV, EV, single site, multisite, wildcard), and click “Add to cart.” Specify ......
Read more >
About HTTPS - FastAPI
For HTTPS, the server needs to have "certificates" generated by a third party. · Certificates have a lifetime. · The encryption of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found