Disabling SSL on the Front-End

Disable Back-end SSL on Front-end Clients

frontendPath="/var/lib/interlock/interlock_frontend"

# Disable Back-end SSL Communication
sed 's/\(\s\|\t\{0,\}\)"ssl":\s*true\(.*\)/\1"ssl": false\2/g' $frontendPath/config/local.json

# Enable Back-end SSL Communication
sed 's/\(\s\|\t\{0,\}\)"ssl":\s*false\(.*\)/\1"ssl": true\2/g' $frontendPath/config/local.json

Self-signed Certificate Exception

If you do not have a proper Let’s Encrypt or Paid SSL Certificate you’ll need to access your backend URL before-hand and set an exception in your browser for the Axios requests to work.