I know that several people asked the same:
How to solve the "tls_process_ske_dhe:dh key too small" error
But I want to really understand why the only solution proposed is to lower the security protocols. Instead of that I would really appreciate someone who can point me out in the right direction to solve this issue without affecting the security level.
I don't want to make this change in /etc/ssl/openssl.cnf on a production server:
MinProtocol = TLSv1
CipherString = DEFAULT@SECLEVEL=1
It's not in production yet, but sooner or later it will be.
A little bit of context:
I am using Guzzle Http to make a GET request in a Laravel stack, using docker.
I'd like to provide more details if it's need to get me in the right direction.
Thanks in advance.