Google has announced yet another update regarding the HTTPS ranking signal. They will flag invalid SSL certificates, which would prevent any boost from Google's HTTPS ranking factor.
Security is a top priority at Google. In 2014, Google announced a slight ranking boost to HTTPS URLs in the SERPs. Although the industry is divided if this really made a difference for SEO and is worth the investment,