Http and https

You need to add httpS version of your site to the Google search console

as well as 301 redirects from http to httpS (force https)

so that search bots see the redirection and know how to serve the right protocol in the SERP

apart from that, edit the canonical URL and other things in the code