diff --git a/perl-xCAT-2.0/xCAT/Client.pm b/perl-xCAT-2.0/xCAT/Client.pm index 66f79b07d..51c8e2830 100644 --- a/perl-xCAT-2.0/xCAT/Client.pm +++ b/perl-xCAT-2.0/xCAT/Client.pm @@ -72,8 +72,8 @@ sub submit_request { my $keyfile = shift; my $certfile = shift; my $cafile = shift; - unless ($keyfile) { $keyfile = $ENV{HOME}."/.xcat/client-key.pem"; } - unless ($certfile) { $certfile = $ENV{HOME}."/.xcat/client-cert.pem"; } + unless ($keyfile) { $keyfile = $ENV{HOME}."/.xcat/client-cred.pem"; } + unless ($certfile) { $certfile = $ENV{HOME}."/.xcat/client-cred.pem"; } unless ($cafile) { $cafile = $ENV{HOME}."/.xcat/ca.pem"; } $xCAT::Client::EXITCODE = 0; # clear out exit code before invoking the plugin diff --git a/xCAT-server-2.0/sbin/xcatd b/xCAT-server-2.0/sbin/xcatd index 1d1675d6f..b76e03490 100755 --- a/xCAT-server-2.0/sbin/xcatd +++ b/xCAT-server-2.0/sbin/xcatd @@ -479,8 +479,8 @@ until ($quit) { eval { alarm(10); $connection = IO::Socket::SSL->start_SSL($cnnection, - SSL_key_file=>$xcatdir."/cert/server-key.pem", - SSL_cert_file=>$xcatdir."/cert/server-cert.pem", + SSL_key_file=>$xcatdir."/cert/server-cred.pem", + SSL_cert_file=>$xcatdir."/cert/server-cred.pem", SSL_ca_file=>$xcatdir."/cert/ca.pem", SSL_server=>1, SSL_verify_mode=> 1