Error detail:
INFO n.d.o.o.t.MessageSenderFactory - => busdox-transport-as2-ver1p0
INFO n.d.v.peppol.security.ModeDetector - Detection error (TEST): Certification path could not be validated.
INFO n.d.v.peppol.security.ModeDetector - Detection error (PRODUCTION): Validation of subject principal(CN) failed.
Exception=Unable to create injector, see the following errors:
1) Error in custom provider, no.difi.vefa.peppol.common.lang.PeppolLoadingException: Unable to detect mode for certificate 'C=xx, O=xxxxxx, OU=xxxxx, CN=xxxxxxx'. at no.difi.oxalis.commons.mode.ModeModule.providesMode(ModeModule.java:63) while locating no.difi.vefa.peppol.mode.Mode for the 1st parameter of no.difi.oxalis.outbound.lookup.LookupModule.getLookupService(LookupModule.java:57) at no.difi.oxalis.outbound.lookup.LookupModule.getLookupService(LookupModule.java:57) while locating no.difi.oxalis.api.lookup.LookupService for the 4th parameter of no.difi.oxalis.outbound.transmission.DefaultTransmitter.<init>(DefaultTransmitter.java:71) while locating no.difi.oxalis.outbound.transmission.DefaultTransmitter at no.difi.oxalis.outbound.transmission.TransmissionModule.configure(TransmissionModule.java:49) while locating no.difi.oxalis.api.outbound.Transmitter
We are using "oxalis-4.0.2" and facing same issue. Is there additional configuration required?
Also test-case "ModeModuleTest.simple()" is failing:
[ERROR] 1) No implementation for org.apache.http.impl.client.CloseableHttpClient was bound. [ERROR] while locating com.google.inject.Provider<org.apache.http.impl.client.CloseableHttpClient> [ERROR] for field at no.difi.oxalis.commons.mode.OxalisCrlFetcher.httpClientProvider(OxalisCrlFetcher.java:56) [ERROR] at no.difi.oxalis.commons.mode.ModeModule.configure(ModeModule.java:56) (via modules: no.difi.oxalis.commons.guice.GuiceModuleLoader -> no.difi.oxalis.commons.mode.ModeModule) [ERROR] [ERROR] 2) No implementation for org.apache.http.impl.client.CloseableHttpClient was bound. [ERROR] while locating com.google.inject.Provider<org.apache.http.impl.client.CloseableHttpClient> [ERROR] for field at no.difi.oxalis.commons.mode.OxalisOcspFetcher.httpClientProvider(OxalisOcspFetcher.java:45) [ERROR] at no.difi.oxalis.commons.mode.ModeModule.configure(ModeModule.java:54) (via modules: no.difi.oxalis.commons.guice.GuiceModuleLoader -> no.difi.oxalis.commons.mode.ModeModule)
Still facing problem with "oxalis-4.0.2" even after applying patch: https://github.com/difi/oxalis/commit/abca3d87b14a4b32197da9f27bf4de2397e418af in Oxalis 4.0.2
Error detail: INFO n.d.o.o.t.MessageSenderFactory - => busdox-transport-as2-ver1p0 INFO n.d.v.peppol.security.ModeDetector - Detection error (TEST): Certification path could not be validated. INFO n.d.v.peppol.security.ModeDetector - Detection error (PRODUCTION): Validation of subject principal(CN) failed. Exception=Unable to create injector, see the following errors:
1) Error in custom provider, no.difi.vefa.peppol.common.lang.PeppolLoadingException: Unable to detect mode for certificate 'C=xx, O=xxxxxx, OU=xxxxx, CN=xxxxxxx'. at no.difi.oxalis.commons.mode.ModeModule.providesMode(ModeModule.java:63) while locating no.difi.vefa.peppol.mode.Mode for the 1st parameter of no.difi.oxalis.outbound.lookup.LookupModule.getLookupService(LookupModule.java:57) at no.difi.oxalis.outbound.lookup.LookupModule.getLookupService(LookupModule.java:57) while locating no.difi.oxalis.api.lookup.LookupService for the 4th parameter of no.difi.oxalis.outbound.transmission.DefaultTransmitter.<init>(DefaultTransmitter.java:71) while locating no.difi.oxalis.outbound.transmission.DefaultTransmitter at no.difi.oxalis.outbound.transmission.TransmissionModule.configure(TransmissionModule.java:49) while locating no.difi.oxalis.api.outbound.Transmitter
We are using "oxalis-4.0.2" and facing same issue. Is there additional configuration required?
Also test-case "ModeModuleTest.simple()" is failing:
[ERROR] 1) No implementation for org.apache.http.impl.client.CloseableHttpClient was bound. [ERROR] while locating com.google.inject.Provider<org.apache.http.impl.client.CloseableHttpClient> [ERROR] for field at no.difi.oxalis.commons.mode.OxalisCrlFetcher.httpClientProvider(OxalisCrlFetcher.java:56) [ERROR] at no.difi.oxalis.commons.mode.ModeModule.configure(ModeModule.java:56) (via modules: no.difi.oxalis.commons.guice.GuiceModuleLoader -> no.difi.oxalis.commons.mode.ModeModule) [ERROR] [ERROR] 2) No implementation for org.apache.http.impl.client.CloseableHttpClient was bound. [ERROR] while locating com.google.inject.Provider<org.apache.http.impl.client.CloseableHttpClient> [ERROR] for field at no.difi.oxalis.commons.mode.OxalisOcspFetcher.httpClientProvider(OxalisOcspFetcher.java:45) [ERROR] at no.difi.oxalis.commons.mode.ModeModule.configure(ModeModule.java:54) (via modules: no.difi.oxalis.commons.guice.GuiceModuleLoader -> no.difi.oxalis.commons.mode.ModeModule)