private SSLContext createSSLContext(String keyStoreName, String keyStorePassPhrase)
			throws Exception {
		Assert.state(StringUtils.hasText(keyStoreName), "keyStore property cannot be null");
		Assert.state(StringUtils.hasText(keyStorePassPhrase),
				"keyStorePassPhrase property cannot be null");
		PathMatchingResourcePatternResolver resolver = new PathMatchingResourcePatternResolver();
		Resource keyStore = resolver.getResource(keyStoreName);
		SSLContext sslContext = SSLContext.getInstance("TLS");
		KeyStore ks = KeyStore.getInstance("PKCS12");
		ks.load(keyStore.getInputStream(), keyStorePassPhrase.toCharArray());
		KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
		kmf.init(ks, keyStorePassPhrase.toCharArray());
		sslContext.init(kmf.getKeyManagers(), null, null);
		return sslContext;
	}
Set the max content length; default 1Mb.
@param maxContentLength the max content length.
extensions/spring-xd-extension-http/src/main/java/org/springframework/integration/x/http/NettyHttpInboundChannelAdapter.java