Forum Discussion

yodo_miri's avatar
yodo_miri
Senior Member
3 years ago

WSSecurity: An unknown signature algorith

Hello everyone,
I have a problem, I need to wrap the xml with a transport signature. I want to do it through WSSecurity, but the configuration what I need is not in the list of algorithms:

- Digest algorithm "http://www.w3.org/2001/04/xmldsig-more#gostr3411"
- Signature Algorithm "http://www.w3.org/2001/04/xmldsig-more#gostr34102001-gostr3411

If I do not select algorithm values from the list, but simply use the default values, then an error will appear in the log when you execute "Outgoing WSS- > Apply".

 

Wed Oct 06 16:19:40 ALMT 2021:ERROR:org.apache.ws.security.WSSecurityException: General security error (An unknown signature algorithm was specified: ECGOST34310)
   org.apache.ws.security.WSSecurityException: General security error (An unknown signature algorithm was specified: ECGOST34310)
   	at org.apache.ws.security.message.WSSecSignature.getSigningCerts(WSSecSignature.java:815)
   	at org.apache.ws.security.message.WSSecSignature.prepare(WSSecSignature.java:169)
   	at org.apache.ws.security.message.WSSecSignature.build(WSSecSignature.java:364)
   	at com.eviware.soapui.impl.wsdl.support.wss.entries.SignatureEntry.process(SignatureEntry.java:246)
   	at com.eviware.soapui.impl.wsdl.support.wss.OutgoingWss.processOutgoing(OutgoingWss.java:174)
   	at com.eviware.soapui.impl.wsdl.actions.request.ApplyOutgoingWSSToRequestAction.actionPerformed(ApplyOutgoingWSSToRequestAction.java:53)
   	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
   	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
   	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
   	at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
   	at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
   	at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020)
   	at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064)
   	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6632)
   	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
   	at java.desktop/java.awt.Component.processEvent(Component.java:6397)
   	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
   	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
   	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
   	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
   	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
   	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
   	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
   	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
   	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762)
   	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
   	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
   	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
   	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
   	at java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
   	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
   	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
   	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
   	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
   	at java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
   	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
   	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
   	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
   	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
   	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
   	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
   	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
   	at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:188)
   	at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
   	at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
   	at java.base/java.security.AccessController.doPrivileged(AccessController.java:310)
   	at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
   	at javafx.embed.swing.JFXPanel.setScene(JFXPanel.java:302)
   	at com.eviware.soapui.support.components.EnabledWebViewBasedBrowserComponent.release(EnabledWebViewBasedBrowserComponent.java:234)
   	at com.eviware.soapui.support.components.EnabledWebViewBasedBrowserComponent.close(EnabledWebViewBasedBrowserComponent.java:229)
   	at com.eviware.soapui.ui.URLDesktopPanel.onClose(URLDesktopPanel.java:63)
   	at com.eviware.soapui.ui.desktop.standalone.StandaloneDesktop$InternalDesktopFrameListener.internalFrameClosing(StandaloneDesktop.java:284)
   	at java.desktop/javax.swing.JInternalFrame.fireInternalFrameEvent(JInternalFrame.java:1538)
   	at java.desktop/javax.swing.JInternalFrame.doDefaultCloseAction(JInternalFrame.java:1581)
   	at java.desktop/javax.swing.plaf.basic.BasicInternalFrameTitlePane$CloseAction.actionPerformed(BasicInternalFrameTitlePane.java:780)
   	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
   	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
   	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
   	at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
   	at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
   	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
   	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6632)
   	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
   	at java.desktop/java.awt.Component.processEvent(Component.java:6397)
   	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
   	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
   	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
   	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
   	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
   	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
   	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
   	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
   	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762)
   	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
   	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
   	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
   	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
   	at java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
   	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
   	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
   	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
   	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
   	at java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
   	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
   	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
   	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
   	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
   	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
   	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
   	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
   	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

 

Can you tell me how to add the new crypto package provider configuration to the Soap UI?

No RepliesBe the first to reply