protected StringBuilder addHttpsProtocols(StringBuilder jvmArguments) {
		String[] sslProtocols = {"SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"};

		try {
			SSLSocket socket = (SSLSocket) getDefault().createSocket();
			sslProtocols = socket.getSupportedProtocols();
		} catch (IOException e) {
			noOp();
		}

		List<String> protocols = new ArrayList<>();
		for (String protocol: sslProtocols) {
			if (DISABLED_SSL_PROTOCOLS.contains(protocol)) {
				continue;
			}
			protocols.add(protocol);
		}

		return jvmArguments
			.append(" -Dhttps.protocols=")
			.append(StringUtils.join(protocols, ","))
			.append(" ");
	}
Build JVM Arguments.

@return generated jvm arguments
ngrinder-core/src/main/java/net/grinder/engine/agent/PropertyBuilder.java