Brocade Communications Systems 53-1001778-01 manual Troubleshooting, Xmlerror

Page 67

Troubleshooting 4

wbem.indications.keyStorePassword=SSLindication

2.Modify the CLASSPATH environment variable to reference this file. The CLASSPATH should contain only the path to the directory where the file is present and not the path to the file itself. For example, if the WbemClient.properties file is located at C:\SMIAgent\agent, then the CLASSPATH environment variable should be:

C:\SMIAgent\agent

Configuring a client for default SSL indications using system property values

Pass the required system properties as jvm parameters on the command line, using the -D option as follows.

java -classpath <SMIAgent>/agent/wbem.jar

-Dwbem.indications.keyStore=<SMIAgent>/agent/client/.client.ind.keystore -Dwbem.indications.keyStorePassword=SSLindication

clientprogram

Do not pass the truststore information in the command line.

Configuring a client for default SSL indications using client listener program

Set the required system properties within the client listener program. For example:

public class clientlistener {

private static final String KS = "indication.keyStore";

private static final String KSPWD = "indications.keyStorePassword"; System.setProperty(clientlistener.KS) = "<SMIAgent>/agent/client/.client.ind.keystore"; System.setProperty(clientlistener.KSPWD) = "SSLindication";

}

Do not include the truststore information in the client listener program.

Troubleshooting

If the keystore and truststore information is not set up correctly, the following errors are expected on the client side, depending on the WBEM client configuration:

If the WBM client is configured with no keystore or truststore information, the following error is issued on the client side:

XMLERROR:

enumerateInstances,java.net.ConnectException: java.net.SocketException -

Software caused connection abort: recv failed

at javax.wbem.client.adapter.http.CIMClientXML.enumerateInstances(Unknown Source)

at javax.wbem.client.CIMClient.enumerateInstances(Unknown Source) at javax.wbem.client.CIMClient.enumerateInstances(Unknown Source)

Brocade SMI Agent User’s Guide

51

53-1001778-01

 

Image 67
Contents Brocade SMI Agent Brocade Communications Systems, Incorporated Title Publication number Summary of changes Date Brocade SMI Agent User’s Guide Contents Chapter Brocade SMI Agent Configuration Chapter Mutual Authentication for Clients and Indications Index How this document is organized This chapterSupported hardware and software Document conventions What’s new in this documentText formatting Key terms Identifies command syntax examplesBrocade resources Additional informationOther industry resources FT00X0054E9 Getting technical helpSupport@brocade.com Brocade SMI Agent supportDocument feedback Common Information Model CIM OverviewBrocade SMI Agent Brocade SMI-S InitiativeBrocade SMI Agent Brocade SMI Agent User’s Guide Starting the SMI-A Brocade SMI AgentStop the Brocade SMI Agent Starting the SMI-A as a serviceStopping the SMI-A Stopping the SMI-A as a service Service Location Protocol SLP supportSLP on Linux, Solaris, and AIX Slptool commandsStopping SLP on Linux, Solaris, and AIX Starting SLP on Linux, Solaris, and AIXSLP on Windows Installing SLP on WindowsStarting SLP on Windows Connection monitoring Disable Http for security reasonsFor example Enable multi-homed supportAbout the Brocade SMI Agent Configuration Tool Brocade SMI Agent ConfigurationApply Launching the Brocade SMI Agent Configuration Tool Windows Launch the Brocade SMI-A Configuration ToolReloading provider.xml on fabric segmentation Proxy connectionsAdding proxy connections Removing proxy connections Login failure status informationAccess control Login failure status messages Access controlMapping an SMI-A user to a switch user Setting up default SMI-A user mapping SMI Agent security Limitations of SMI-A user-to-switch user mappingConfiguring mutual authentication for clients Mutual authentication setupConfiguring mutual authentication for indications Mutual authentication for indications Configuring Http accessImporting client certificates Http accessExporting server certificates SMI Agent security Configuring user authentication User authentication Encode proxy details Encoding proxy connection detailsConfiguring or removing the SMI Agent as a service SMI Agent service configuration and removalConfigure Http and Https ports Port configurationConfiguring the Http and Https ports Configuring the ARR and eventing ports Configure ARR and eventing portsConfigure ARR and eventing ports Fabric Manager database server configurationConfiguring software locations for firmware download Firmware download software locations configurationFile Path Configuring debugging options for Cimom Debugging and logging options configurationDebugging options for Cimom Debugging options for the provider Configure debugging options for CimomDynamic Update Configuring debugging options for the providerLogging options for the provider Configuring logging options for providerLog file examples Configure logging optionsCapturing information from the provider cache Capture provider cache informationCollect support information Support information collectionCollecting support information XML dumpRunning an XML dump Configuring the Cimom server Cimom server configurationUncomment the following lines Configuring log file optionsIntroduction Mutual authentication for clients Enabling mutual authentication for indications Mutual authentication for indications Client configuration to use client certificates Enabling mutual authentication for clientsClient.ind.truststore Clientind.cer Java -classpath SMIAgent/agent/wbem.jar Xmlerror TroubleshootingXmlerror General questions Frequently Asked QuestionsHow do I collect diagnostic data from the Brocade SMI Agent? Does the SMI Agent have support for Https communication? On Linux Type the following command Appendix Open source software used in SMI-ASource Code License Sun Industry Standards Source LicenseDistribution Obligations Inability to Comply DUE to Statute or Regulation Termination IBM Common Public License Grant of Rights Commercial Distribution OpenSLP License GNU Library General Public License Bouncy CastleSun Binary Code License Agreement Public DomainBrocade SMI Agent User’s Guide Supplemental License Terms Brocade SMI Agent User’s Guide Brocade SMI Agent User’s Guide 53-1001778-01 Sun Binary Code License Agreement Index Brocade SMI Agent User’s Guide