You can force the p4 plugin (i.e., P4Java) connection to use a higher TLS version by starting your JVM (master and slaves) with
-DsecureSocketEnabledProtocols=TLSv1.2