Not being familiar with Alpine, I tried to reproduce on Debian testing using master branch and all goes fine. I looked at the docker files for Alpine repo and it seems it uses libressl library, not openssl (libssl).
The tls module is developed for and tested only with libssl (openssl library).
Can you test with libssl library and report the results?