You should be able to just set the force_https setting to true and base_url will return https
force_https
base_url
https