Skip to content

maverick is failing to create the instance. #18

@krishtyagi

Description

@krishtyagi

Hi Team,
I am facing java.lang.SecurityException: JCE cannot authenticate the provider BC

Caused by: java.util.jar.JarException: file:/local/apps/tomcat/webapps/remote-connect/WEB-INF/lib/TunnelProvider-1.1.0-jar-with-dependencies.jar has unsigned entries - AppBridge.properties
at javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:502)
at javax.crypto.JarVerifier.verifyJars(JarVerifier.java:363)
at javax.crypto.JarVerifier.verify(JarVerifier.java:289)
at javax.crypto.JceSecurity.verifyProviderJar(JceSecurity.java:164)
at javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:190)
at javax.crypto.JceSecurity.getInstance(JceSecurity.java:114)
at javax.crypto.KeyAgreement.getInstance(KeyAgreement.java:270)
at com.sshtools.ssh.components.jce.DiffieHellmanGroup14Sha1.performClientExchange(DiffieHellmanGroup14Sha1.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sshtools.ssh.components.jce.JCEComponentManager.testKeyExchangeAlgorithm(JCEComponentManager.java:518)
at com.sshtools.ssh.components.jce.JCEComponentManager.initializeKeyExchangeFactory(JCEComponentManager.java:357)
at com.sshtools.ssh.components.ComponentManager.init(ComponentManager.java:155)
at com.sshtools.ssh.components.ComponentManager.getInstance(ComponentManager.java:94)
at com.sshtools.ssh2.Ssh2Context.(Ssh2Context.java:187)
at com.sshtools.ssh.SshConnector.(SshConnector.java:96)
at com.sshtools.ssh.SshConnector.createInstance(SshConnector.java:107)
at com.ge.hc.services.ffa.connectivity.common.service.SSHTunnelService.createSSHTunnel(SSHTunnelService.java:71)

The code at SSHTunnelService.java:71 to load the sshConnector

		SshConnector con = SshConnector.createInstance();
com.sshtools j2ssh-maverick 1.5.2

Please help here! Why maverick is failing to create the instance.
you early help would be much appreciated
Thank you
Krishan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions