Use QSslCertificate::isNull() instead of isValid() in IdentityEditWidget