Just in case someone runs into the same problem:

To get the cisco ucs plugin to work with a self-signed ssl certificate on 
the system manager the following needed to be added to disable ssl 
certificate verification:

diff ucs.pm /opt/xcat/lib/perl/xCAT_plugin/ucs.pm
30,37d29
< 
< $ENV{'PERL_LWP_SSL_VERIFY_HOSTNAME'} = 0;
< 
< IO::Socket::SSL::set_ctx_defaults(
<      SSL_verifycn_scheme => 'www',
<      SSL_verify_mode => 0,
< );
< 

see http://www.perlmonks.org/?node_id=1078704 for details

cheers
--
Matthias Merk

[email protected] schrieb am 18.01.2017 11:20:50:

> Von: [email protected]
> An: [email protected]
> Datum: 18.01.2017 12:24
> Betreff: [xcat-user] cisco ucs plugin certificate verify failed
> 
> Hello 
> 
> i had to move xcat to a different node (reinstalled xcat and 
> imported the database) i got almost everything working but can't get
> the cisco ucs plugin to work again. ( 
https://github.com/vallard/xCAT-cisco )
> 
> this is the error message: 
> $ lssp ucs1a 
> Error: ucs1a/xml fetch error: 500 Can't connect to ucs1a:443 
> (certificate verify failed) 
> Error: ucs plugin bug, pid 7674, process description: 'xcatd SSL: 
> lssp to ucs1a for ruxi003@loopback: ucs instance' with error 'Can't 
> use string ("0") as a HASH ref while "strict refs" in use at /opt/
> xcat/lib/perl/xCAT_plugin/ucs.pm line 830, <$parfd> line 1. 
> ' while trying to fulfill request for the following nodes: ucs1a 
> 
> 
> do i have to generate new certificates with #xcatconfig -c ? 
> 
> Thanks 
> 
> Best regards 
> Matthias
> 
------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to