Google ranks websites according to the safety and usability that each site offers. If your website isn't secure, it's unlikely to feature prominently on a web search.