-Be more picky about the nature of the https server when thinking about credential authorization

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-08-17 14:01:14 +00:00
parent cb0fefce56
commit d2e7821be3

View File

@ -247,7 +247,8 @@ sub ok_with_node {
alarm(10);
my $response = $browser->request(GET "https://$node:$port/");
alarm(0);
if ($response->is_success) {
if ($response->is_success and $response->{'_content'} =~ /Ciphers supported in s_server binary/) {
#We are looking for openssl s_server running with -http, not settling for just any https response
return 1;
}
}