Windows 10 - RxopException with "JCE cannot authenticate the provider BC"
Incident Properties
Question
Hi partner.
The customer uses our Registration Utility (RegisterAndroidRicohClient - RXOP v3.8.3) to deploy a smartSDK application to a Ricoh device.
The Registration Utility works as well if using Windows 2016, but the issue happens on Windows 10 only.
The customer is able to deploy the app success on Windows 2016 and the same device, I believe they use a valid device admin credentials.
To reproduce the issue, we used an invalid password, we are able to get error in the log "COMMON_NOT_AUTHENTICATED" but do not see the message as same as the customer "JCE cannot authenticate the provider BC" as the customer.
My question: Did you know this issue, or have any suggestion to troubleshoot the issue?
The RXOP log on Windows 10 from the customer shows below:
ricoh.rxop.rxcommon.RxopException: -- init -- JCE cannot authenticate the provider BC
INFO [2023-01-30 14:58:22,363] [pool-2-thread-1] (com.kofax.ricoh.client.registration.util.ApplicationSettingHelper:?) Getting device info for 10.3.4.25
INFO [2023-01-30 14:58:22,564] [pool-2-thread-1] (ricoh.rxop.rxinst.pe:?) initLogger -- STATE_INITIALIZED 14:58:22
INFO [2023-01-30 14:58:26,629] [10.3.4.25:initDevice] (ricoh.rxop.rxinst.sb:?) ---- DmServletResponse ----
INFO [2023-01-30 14:58:26,631] [10.3.4.25:initDevice] (ricoh.rxop.rxinst.sb:?) url: https://10.3.4.25:443/DH/devicemanagement
INFO [2023-01-30 14:58:26,632] [10.3.4.25:initDevice] (ricoh.rxop.rxinst.sb:?) status: 500
INFO [2023-01-30 14:58:26,632] [10.3.4.25:initDevice] (ricoh.rxop.rxinst.sb:?) rawData: <?xml version="1.0" encoding="UTF-8" ?><s:Envelope xmlns:s=http://schemas.xmlsoap.org/soap/envelope/ s:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>RDH error</faultstring><detail><rdhError xmlns=http://www.ricoh.co.jp/xmlns/soap/rdh/common><errorCode>COMMON_NOT_AUTHENTICATED</errorCode><errorDescription></errorDescription></rdhError></detail></s:Fault></s:Body></s:Envelope>
INFO [2023-01-30 14:58:26,634] [10.3.4.25:initDevice] (ricoh.rxop.rxinst.sb:?) ---- DmServletResponse ----
INFO [2023-01-30 14:58:26,635] [10.3.4.25:initDevice] (ricoh.rxop.rxinst.sb:?) url: https://10.3.4.25:443/DH/devicemanagement
INFO [2023-01-30 14:58:26,635] [10.3.4.25:initDevice] (ricoh.rxop.rxinst.sb:?) status: 500
INFO [2023-01-30 14:58:26,635] [10.3.4.25:initDevice] (ricoh.rxop.rxinst.sb:?) rawData: <?xml version="1.0" encoding="UTF-8" ?><s:Envelope xmlns:s=http://schemas.xmlsoap.org/soap/envelope/ s:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>RDH error</faultstring><detail><rdhError xmlns=http://www.ricoh.co.jp/xmlns/soap/rdh/common><errorCode>COMMON_NOT_AUTHENTICATED</errorCode><errorDescription></errorDescription></rdhError></detail></s:Fault></s:Body></s:Envelope>
ERROR [2023-01-30 14:58:26,637] [pool-2-thread-1] (com.kofax.ricoh.client.registration.util.ApplicationSettingHelper:?) ricoh.rxop.rxcommon.RxopException: -- init -- COMMON_NOT_AUTHENTICATED
I attached the Registration Utility.
Thank you
Ngoc
Rioh SOP device does not support support Optional Counter?
Incident Properties
Question
Hi RiDP support.
We get error when use RXOP lib to get/set service program OPTIONAL_COUNTER_TYPE__DEFAULT_OPTIONAL_COUNTER_TYPE on device Ricoh SFP C842DN we get this error:
java.io.IOException: Exception: Error:-2 RequestID:127 SPcode:5113-1 data:null
with service program OPTIONAL_COUNTER_TYPE__EXTERNAL_OPTIONAL_COUNTER_TYPE we get this error:
java.io.IOException: Exception: Error:-2 RequestID:127 SPcode:5113-2 data:null
and you mentioned in this ticket https://ricoh-ridp.com/ridp/support-system/incident/ricoh-sdc-canada/1659991915/719773611/4533
"SP C840DN/C842DN (Metis-P2) does not support Optional Counter. And we do not recommend using the settings in SmartSDK."
We have questions:
1. Only SP C840DN/C842DN (Metis-P2) does not support Optional Counter or all SFP devices do not support Optional Counter
2. All MFP devices support Optional Counter?
Please advise.
Thanks.
Does RXOP support TLS v1.3?
Incident Properties
Question
Hi RiDP support,
Does RXOP support TLS v1.3? If yes then how to implement?
Thanks.
RXOP ACL Request
Incident Properties
Question
Hello,
I will attach an ACL request file for RXOP.
Could we please have a corresponding ACL file?
Thanks,
Papercut Team
AppZipFileException exception when installing an application via RXOP
Incident Properties
Question
Hi RiDP support,
When I use RXOP to install application on RICOH IMC4500 device
I get
Exception. ricoh.rxop.rxinst.AppZipFileException: <jar> or <apk> entries and application file mismatch in: gdxg0pzb.wwp
at ricoh.rxop.rxinst.AppZipFile.j(AppZipFile.java)
at ricoh.rxop.rxinst.AppZipFile.<init>(AppZipFile.java)
at ricoh.rxop.rxinst.AppZipFile.a(AppZipFile.java)
at ricoh.rxop.rxinst.AppZipFile.Load(AppZipFile.java)
at jRXOPWrap.InstallXlet(Unknown Source)
Please advise.
Thanks.
Error Connection refused when calling ricohDevice.getAppInfo by RXOP
Incident Properties
Question
Hi RiDP support,
I get this error:
Connection refused when calling ricohDevice.getAppInfo by RXOP.
I suspect rxsp servlet can not start and suggest checking SP ACCESS_CONTROL__EXTERNAL_CERTIFICATION SP5401-160 value
But Unfortunately, the vendor has not been able to access that service mode. He also asked around and was told that the service mode you are stating no longer exists on the newer units.
Device Ricoh IM CW2200
I attached rxop inst log, machine log.
Please advise.
Thanks.
ACL Request
Incident Properties
Question
Hello,
We need an ACL file, for the configuration of all compatible devices with SmartSDK (G2 and higher).
This are the options we've already used:
ServiceProgram.ACCESS_CONTROL__DEFAULT_DOCUMENT_ACL
ServiceProgram.ACCESS_CONTROL__SDK_CERTIFICATION_DEVICE
ServiceProgram.USER_AUTHENTICATION__PRINTER
ServiceProgram.ADMINISTRATOR_AUTHENTICATION_MANAGEMENT__USER_ADMINISTRATOR_AUTHENTICATION_SETTING
ServiceProgram.USER_AUTHENTICATION_MANAGEMENT
ServiceProgram.AUTO_LOGOUT_TIMER
ServiceProgram.MACHINE_ACTION_WHEN_LIMIT_REACHED
ServiceProgram.TRACK_PERMISSION
ServiceProgram.STOP_PRINT_SETTING
ServiceProgram FUNCTION_PRIORITY;
ServiceProgram FUNCTION_PRIORIT_SHORTCUT;
We've identified other options related to timers, networks, apps authentication, ...
Would it be possible to generate an ACL which could contain all this options?
Best Regards.
Why is my RXOP application failing with a SecurityException related to the Bouncy Castle Provider?
RXOP v3.8.9 has resolved the issue reported below.
Description of Symptoms
There are reports of a previously working RXOP application throwing a java.lang.SecurityException
(wrapped inside a ricoh.rxop.rxcommon.RxopException
) and failing to connect to a remote device.
The stacktrace will look something like this:
ricoh.rxop.rxcommon.RxopException: -- init -- JCE cannot authenticate the provider BC
Incident Properties
Question
Hi,
I get error ricoh.rxop.rxcommon.RxopException: -- init -- JCE cannot authenticate the provider BC
at ricoh.rxop.rxinst.RicohJavaDevice.e(RicohJavaDevice.java)
at ricoh.rxop.rxinst.RicohJavaDevice.access$000(RicohJavaDevice.java)
at ricoh.rxop.rxinst.fc.run(fc.java)
at ricoh.rxop.rxinst.cf.run(cf.java)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.SecurityException: JCE cannot authenticate the provider BC
at javax.crypto.Cipher.getInstance(Cipher.java:664)
at javax.crypto.Cipher.getInstance(Cipher.java:599)
at ricoh.rxop.rxcommon.t.a(t.java)
at ricoh.rxop.rxcommon.r.a(r.java)
at ricoh.rxop.rxcommon.r.<init>(r.java)
at ricoh.rxop.rxcommon.DeviceInfoList.<init>(DeviceInfoList.java)
at ricoh.rxop.rxcommon.DeviceInfoList.getInstance(DeviceInfoList.java)
... 5 more
Caused by: java.util.jar.JarException: file:/D:/Apps/Program%20Files%20(x86)/Nuance/Device%20Registration%20Service/Service/Plugins/RXOP-SOP/bcprov-jdk14-152.jar has u.
when use RXOP to get app info: rDevice.getAppInfoOp
Application use Oracle JRE8 update 351
I attached rxinst log, machine logs.
Please advise.
Thanks.
RXOP 3.8.8 possible SOP gen API removal
Incident Properties
Question
Hello,
This question is related to the newest RXOP (3.8.8) and the new G3 device support.
Our deployment uses the following calls to determine the panel information:
RicohJavaDevice#usingSmartPanel()
RicohJavaDevice#isUseVmlessApi()
RicohJavaDevice#getSopGeneration()
Which (if any) of these will we not be able to call anymore? If there are some we can’t call, what are the alternatives?
Regards
Bryan