Skip to content

More helpful error message on TLS error #1010

Closed
@dominique-unruh

Description

@dominique-unruh

When stack raises

TlsException (HandshakeFailed (Error_Protocol ("certificate has unknown CA",True,UnknownCa)))

(see #234) the error message should include the URL that was accessed (or at least the host), and the suggestion to open it in Internet Explorer and/or a link to the stackoverflow answer (http://stackoverflow.com/questions/32654493/stack-haskell-throws-tlsexception-in-windows/32654494#32654494). The suggestion and link should only occur in Windows.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions