Didn’t find any useful information in the Internet, so I’ll leave it here.
I was running security scan with Appspider and application failed with error code -2146893017 Quick search didn’t find explanation so the reason for the error is that remote server is rejecting your client certificate. Same error thrown by curl:
➜ ~ curl -k --cert auth.pfx --cert-type p12 --pass pass https://host -vvv* Trying host...* TCP_NODELAY set* Connected to host (host) port 444 (#0)* ALPN, offering h2* ALPN, offering http/1.1* successfully set certificate verify locations:* CAfile: /etc/ssl/cert.pemCApath: none* TLSv1.2 (OUT), TLS handshake, Client hello (1):* TLSv1.2 (IN), TLS handshake, Server hello (2):* TLSv1.2 (IN), TLS handshake, Certificate (11):* TLSv1.2 (IN), TLS handshake, Server key exchange (12):* TLSv1.2 (IN), TLS handshake, Request CERT (13):* TLSv1.2 (IN), TLS handshake, Server finished (14):* TLSv1.2 (OUT), TLS handshake, Certificate (11):* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):* TLSv1.2 (OUT), TLS handshake, CERT verify (15):* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):* TLSv1.2 (OUT), TLS handshake, Finished (20):* TLSv1.2 (IN), TLS alert, certificate unknown (558):* error:1401E416:SSL routines:CONNECT_CR_FINISHED:sslv3 alert certificate unknown* Closing connection 0curl: (35) error:1401E416:SSL routines:CONNECT_CR_FINISHED:sslv3 alert certificate unknown