I have installed Apache Superset in a machine Centos 7 Minimal, but I don´t know how to change from http to https in the configuration file.
I have changed some values in path /usr/local/lib/python3.6/site-packages/superset/config.py but I have the same result.
You can use Lets Encrypt, a free SSL certificate
Install Certbot using this command
sudo yum install certbot python2-certbot-apache
Run this command to get a certificate
sudo certbot --apache
Setup automatic renewal of the certificate using this command
echo "0 0,12 * * * root python -c 'import random; import time; time.sleep(random.random() * 3600)' && certbot renew -q" | sudo tee -a /etc/crontab > /dev/null
Confirm if certbot worked by accessing your site through https
Finally redirect your superset to https.