Fork me on GitHub
#aleph
<
2018-12-08
>
valerauko10:12:19

hmm maybe it's not tls1.3 but the 4096 bit cert

valerauko10:12:00

=> @(http/get "")
Exception ExceptionInfo connection was closed after 0.336 seconds
...
io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
meanwhile
=> (let [url (java.net.URL. "")
      conn (.openConnection url)]
  (if (= (.getResponseCode conn) 200)
    (byte-streams/to-string (.getInputStream conn))))
"<!DOCTYPE html>\n<html lang='en'>\n<he ..."