search cancel

smfedexport is not working after upgrading to r12.8 SP1

book

Article ID: 134418

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On Agents (SiteMinder) CA Single Sign On Federation (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On SITEMINDER

Issue/Introduction

Customer getting below errors while trying to export metadata using smfedexport after upgrade to 12.8SP1:

21:22:37.628 [main] ERROR - XMLDocumentOpsFactorygetXMLDocumentOpsInstance:

Exception occurred during creation of the XMLDocumentOps instance. Exception: Caught throwable while instantiating signature provider 'txm': com.netegrity.smkeydatabase.api.XMLSignatureApacheTxmImpl: java.lang.NoSuchMethodError:org.apache.xml.security.keys.keyresolver.KeyResolver.register(Ljava/lang/String;Z)VError in DSig - Can't create SMKeyDatabase.Exception occurred during creation of the XMLDocumentOps instance. Exception: Caught throwable while instantiating signature provider 'txm': com.netegrity.smkeydatab

ase.api.XMLSignatureApacheTxmImpl: java.lang.NoSuchMethodError: org.apache.xml.security.keys.keyresolver.KeyResolver.register(Ljava/lang/String;Z)V

An exception occurred while signing metadata document. com.netegrity.SAML2Security.DSigException: Error in DSig - Can't create SMKeyDatabase.Exception occurred during creation of the XMLDocumentOps instance. E

xception: Caught throwable while instantiating signature provider 'txm': com.netegrity.smkeydatabase.api.XMLSignatureApacheTxmImpl: java.lang.NoSuchMethodError: org.apache.xml.security.keys.keyresolver.KeyReso

lver.register(Ljava/lang/String;Z)V

com.netegrity.smkeydatabase.api.XMLDocumentOpsException: Exception occurred during creation of the XMLDocumentOps instance. Exception: Caught throwable while instantiating signature provider 'txm': com.netegr

ity.smkeydatabase.api.XMLSignatureApacheTxmImpl: java.lang.NoSuchMethodError: org.apache.xml.security.keys.keyresolver.KeyResolver.register(Ljava/lang/String;Z)V

 at com.netegrity.smkeydatabase.api.XMLDocumentOpsFactory.getXMLDocumentOpsInstance(XMLDocumentOpsFactory.java:85)

 at com.netegrity.SAML2Security.DSigSigner.initialize(Unknown Source)

 at com.netegrity.SAML2Security.DSigSigner.(Unknown Source)

 at com.ca.SAML2METADATA.utils.SMFedUtilities.signMetadata(Unknown Source)

 at com.ca.smfedexport.tool.IDPMetadataProcessor.generateIdpDescriptor(Unknown Source)

 at com.ca.smfedexport.tool.SMFedExport.main(Unknown Source)

Cause

<Siteminder>\bin\endorsed\xmlsec-1.4.3.jar exists

The only version of xmlsec-<version>.jar should be xmlsec-2.1.2.jar.

Environment

 Policy server 12.8 SP1 on windows.

Resolution

Stopped policy server.

Removed <Siteminder>\bin\endorsed\xmlsec-1.4.3.jar

Started policy server.