	@Test
	public void shouldDoHandshakeWhenCertificateCommonNameIsValid() throws IOException
	{

		startServer(VALID_CERTIFICATE);
		createCryptoHelper(VALID_CERTIFICATE);
		cryptoHelper.doHandshake();
		writeLine(cryptoHelper);
	}