Why is my site still showing insecure icon even if I have SSL certificate?

You need to change the urls in your database to use https. All requests from your website need to be https for your site to be secure.