Looking for instruction to enable SSL on OpenEMR v5.0.1 (4)


(Sasi Chand) #1

Situation
How to enable SSL

OpenEMR Version
I’m using OpenEMR v5.0.1 (4)

Browser:
I’m using: Firefox

Operating System
I’m using:
AME=“Linux Mint”
VERSION=“19 (Tara)”
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME=“Linux Mint 19”
VERSION_ID=“19”

I found this documentation related to https://www.open- emr.org/wiki/images/9/9a/OpenEMRAppliance3_0_1.pdf which seems to not related to the version I am testing installs

This directory path doesn’t exist (cp /etc/apache2/sites-available/default /etc/apache2/sites-available/ssl )

Some pointers in the correct direction will be highly appreciated.
Kind Regards
Sasi Chand


(Justin Miranda) #2

I would recommend using Let’s Encrypt (Certbot). It’s straightforward to install / configure and cheap (free).

I couldn’t find installation instructions specific to Mint 19, but assume it’ll be similar to another Debian-based OS like Ubuntu.

The certificates from Let’s Encrypt expire in 90 days so you’ll need to ensure that certbot-auto is configured properly (see Step 3) in the instructions from Digital Ocean.


(Dan Ehrlich) #3

Also check the Wiki. It’s a link to another article as well, but there is also some other helpful Apache stuff: https://www.open-emr.org/wiki/index.php/Securing_OpenEMR_-_Apache#SSL


(Sasi Chand) #4

Thanks all. Very helpful. I am just testing with self signed certs.

Kind Regards
Sasi


(Jim Chan) #5

I’ve implemented SSL on Windows. The 2 files I had to edit in Apache were httpd-ssl.conf & httpd-vhost.conf

  1. httpd-ssl.conf - edit to specify cert files; cert, server key and cert chain bundle
  2. httpd-vhost.conf - edit to redirect from port 80 to 443 (maybe optional cause I guess you can leave port 80)

You know your close(or working) if apache starts.