From d2e7821be3422e24d86d6352e836c3e9ea19223c Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 17 Aug 2010 14:01:14 +0000 Subject: [PATCH] -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 --- xCAT-server/lib/xcat/plugins/credentials.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/credentials.pm b/xCAT-server/lib/xcat/plugins/credentials.pm index 2e6929ff6..5d3888d5c 100644 --- a/xCAT-server/lib/xcat/plugins/credentials.pm +++ b/xCAT-server/lib/xcat/plugins/credentials.pm @@ -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; } }