Force SSL


(Clement) #1

Hi,

I want to know if it is possible to use https with force SLL on Openemr on web hosting.

Please advise.

Thanks


(Robert Down, BSN, RN) #2

Hi @jhunyan,

This is certainly possible. It would require editing the vhost file on the Apache server. You’d setup two vhost sites; one for the SSL site and one for the regular one. For the regular one, you’ll want to do a redirect to the SSL host.

Let me know if you need an example and I’ll try to put one together


(Asher Densmore-Lynn) #3

https://www.namecheap.com/support/knowledgebase/article.aspx/9821/38/redirect-to-https-on-apache

This looks adequate. Might see about adding it as a switch to the official Docker.