fixed CA certs autodetectino