Unable to load certificate

Solution Verified - Updated -

Issue

  • After upgrading from R2 to R7, the service is unable to load a cert ini file from a keystore location
cert: java.security.cert.CertificateException: X.509 not found while parsing [/path/to/lp52.ini]
com.someprocessor.SomeClient.SomeFileException: IO error: problem parsing cert: java.security.cert.CertificateException: X.509 not found while parsing [/path/to/lp52.ini]
    at com.someprocessor.SomeClient.b.a(SomeClient.java:101)
    at com.someprocessor.SomeClient.b.<init>(SomeClient.java:32)
    at com.someprocessor.SomeClient.a(SomeClient.java:185)
    at com.someprocessor.SomeClient.<init>(SomeClient.java:124)
    at com.someprocessor.SomeClient.SomeClientUtil.processSomeRequest(SomeClientUtil.java:122)
    at com.someprocessor.SomeClient.impl.SomeClientUtilImpl.processSomeRequest(SomeClientUtilImpl.java:33)
    at Proxy9a472c6d_f9ce_4684_920f_a42ddc28712d.processSomeRequest(Unknown Source)
    at com.someprocessor.SomeClient.helper.SomeCheckHelper.getSomeCheckResponse(SomeCheckHelper.java:556)[137:com.some.abc-payment-service:1.0.1.SNAPSHOT]
    at com.someprocessor.SomeClient.action.SomeCheckAction.getSomeCheckResponse(SomeCheckAction.java:83)[137:com.some.abc-payment-service]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_121]
    at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_121]
    at org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:408)[181:org.apache.camel.camel-core:2.17.0.redhat-630343]
    at org.apache.camel.component.bean.MethodInfo$1.doProceed(MethodInfo.java:279)[181:org.apache.camel.camel-core:2.17.0.redhat-630343]
    at org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:252)[181:org.apache.camel.camel-core:2.17.0.redhat-630343]
    at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:177)[181:org.apache.camel.camel-core:2.17.0.redhat-630343]
    at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[181:org.apache.camel.camel-core:2.17.0.redhat-630343]
    at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:196)[181:org.apache.camel.camel-core:2.17.0.redhat-630343]
    at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)[181:org.apache.camel.camel-core:2.17.0.redhat-630343]
    at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)[181:org.apache.camel.camel-core:2.17.0.redhat-630343]
    at org.apache.camel.processor.TryProcessor.process(TryProcessor.java:113)[181:org.apache.camel.camel-core:2.17.0.redhat-630343]
    at org.apache.camel.processor.TryProcessor.process(TryProcessor.java:84)[181:org.apache.camel.camel-core:2.17.0.redhat-630343]
    at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[181:org.apache.camel.camel-core:2.17.0.redhat-630343]

Environment

  • Red Hat Fuse
    • 6.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In