Remove redundant checks in ssl_cert_dup. This was causing spurious error messages...