I am trying to add a Cisco UCS server that has Redfish support. The certificate is self signed one.
steps followed in adding the UCS server.
Navigate : Compute > Physical Infrastructure > Providers > Physical Infrastructure Providers > Add New Physical Infrastructure Provider.
Type : Redfish
Tried all the Security protocol types[SSL, SSL without validation, Non-SSL] in Endpoints, unable to add the UCS server to manageiq.
Below are the error thrown for each security protocol types.
Security protocol: SSL
Credential validation was not successful: Unexpected response returned from system: SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate) (OpenSSL::SSL::SSLError) Unable to verify certificate. This may be an issue with the remote host or with Excon. Excon has certificates bundled, but these can be customized:
Excon.defaults[:ssl_ca_path] = path_to_certs
ENV['SSL_CERT_DIR'] = path_to_certs
Excon.defaults[:ssl_ca_file] = path_to_file
ENV['SSL_CERT_FILE'] = path_to_file
Excon.defaults[:ssl_verify_callback] = callback (see OpenSSL::SSL::SSLContext#verify_callback) or:
Excon.defaults[:ssl_verify_peer] = false (less secure)
Security protocol: SSL without validation
Credential validation was not successful: Unexpected response returned from system: Invalid credentials
Security protocol: Non-SSL
Credential validation was not successful: Unexpected response returned from system: Connection reset by peer (Errno::ECONNRESET)
How to add the UCS server?