Search code examples
sslerlangyaws

Yaws SSL: Decode Error


I've tried running my yaws Web-server (on digital-ocean) by changing my webpage from http://XXX.XX.XX to https://XXX.XX.XX

on the Erlang shell, i get

SSL accept failed: {tls_alert, "decode error"}

the yaws.conf seems to come with a default key and certificate and i haven't made any modifications to that.

could i check what needs to be done to enable SSL? thanks much.


Solution

  • Following the suggestion of Amiramix to check the trace via

    curl -v --trace-time --trace-ascii server1.log https://XXX.XX.XX

    solved the question.