vincenthz/hs-tls — Issue #3: really bad error message when certificate verify fails
Author: rianhunter
Created: 2012-01-16 08:26:00+00:00
State: open

hello

my ubuntu system did not have the "ca-certificates" package installed. when i used "http-enumerator" module (which uses "tls" module) on this system it would fail with:

```
Error during enum: error unexpected packet: Handshake [ServerHelloDone]
```

this error message is not helpful. i spent the next two hours checking every difference between this system and another seemingly identical system until i finally found the error. when i installed the "ca-certificates" package everything suddenly worked. a better error message would have saved me this precious time. thanks!