what you mean ?
TLS1.3 on :2222 or on User Domain ?
tls1.3 require openssl 1.1.1+
this sample how to install custom openssl to complier with webserver
NOTE: Do not follow this on CentOS 7.4, Debian 9, FreeBSD 11. If your OpenSSL already supports ALPN extension, CustomBuild will enable it by default on your OS! It's most likely that your OpenSSL does not support ALPN extension, that's why it's difficult to get HTTP/2 running with Apache...
forum.directadmin.com
so this topic is how to enable http2 then you can use to build for tls1.3 too, But do not follow this step
this only use for how to build webserver with custom openssl
Becarefully don't replace openssl with your base system os, should install on custom folder like " /usr/local/ssl "