Allow duplicate certs in ssl_build_cert_chain