No error shown when using self-signed cert and "allow untrusted cert" is not selected