Although when server socket was opened, it had -certfile and -keyfile generated with 4096 bit size.

When server respond to client hello (tls1.2), tls lib always uses default dh key size 2048.

[Server Key exchange record is sending 256 bytes (DH key size of 2048)]