Seems .htaccess is not read in your https server config and you're using LAMP (Apache) so please go to your server config location for https, e.g. default-ssl or httpd-ssl.conf, and make sure AllowOverride is turned on. If you don't the line, you will need to add that.
<Directory /your/directory/to/codeigniter/>
AllowOverride all
</Directory>