I am wondering how to change which TLS extensions are to be used in Java by editing the SSLSockets or by another means.
This is how I am currently initializing my SSL using Conscrypt
Conscrypt.setUseEngineSocketByDefault(true);
Security.insertProviderAt(new OpenSSLProvider(), 1);
SSLContext sslContext = SSLContext.getInstance("TLSv1.3", Conscrypt.newProvider());
String [] ciphers = {
"..."
};
sslContext.init(null, null, new SecureRandom());
sslContext.createSSLEngine().setEnabledCipherSuites(ciphers);