anchor.diff:      KeyFile = proplists:get_value(keyfile, ServerOpts),
       Version = tls_record:protocol_version(tls_record:highest_protocol_version([])),
   
  -    Cmd = "openssl s_server -msg -alpn http/1.1,spdy/2  -accept " ++ integer_to_list(Port)  ++  ssl_test_lib:version_flag(Version) ++
  -    " -cert " ++ CertFile  ++ " -key " ++ KeyFile,
  -
  -    ct:log("openssl cmd: ~p~n", [Cmd]),
  -
  -    OpensslPort =  open_port({spawn, Cmd}, [stderr_to_stdout]),
  -
  +    Exe = "openssl",
  +    Args = ["s_server", "-msg", "-alpn", "http/1.1,spdy/2", "-accept", integer_to_list(Port), ssl_test_lib:version_flag(Version),
  +	    "-cert", CertFile, "-key" ++ KeyFile],
  +    OpensslPort = ssl_test_lib:portable_open_port(Exe, Args),  
       ssl_test_lib:wait_for_openssl_server(Port),
   
       Client = ssl_test_lib:start_client([{node, ClientNode}, {port, Port},
  
positive.code: 	   "-CAfile", CaCertFile, 
  	   "-key", KeyFile,"-connect", "localhost:" ++ integer_to_list(Port),
  	   ssl_test_lib:version_flag(Version)],
      
      OpenSslPort = ssl_test_lib:portable_open_port(Exe, Args), 
  
      true = port_command(OpenSslPort, Data),
      
      ssl_test_lib:check_result(Server, ok),
      
      %% Clean close down!   Server needs to be closed first !!
  
negative.code:                                         {from, self()}, {mfa, {?MODULE, send_and_hostname, []}},
                                          {options, ServerOptions}]),
      Port = ssl_test_lib:inet_port(Server),
      Exe = "openssl",
      ClientArgs = case SNIHostname of
                          undefined ->
                              ["s_client", "-connect", Hostname ++ ":" ++ integer_to_list(Port)];
                          _ ->
                              ["s_client", "-connect", Hostname ++ ":" ++ integer_to_list(Port), "-servername", SNIHostname]
                      end,       
      ClientPort = ssl_test_lib:portable_open_port(Exe, ClientArgs),  
  
      %% Client check needs to be done befor server check,
      %% or server check might consume client messages
  