Better ca_certs detection. Fix style and some patterns