java.lang.Exception

Failed to decrypt AES secret key using RSA.


Solutions on the web3098

Solution icon of stackoverflow
Failed to decrypt AES secret key using RSA.

Solution icon of stackoverflow
Unable to get secret key

Solution icon of oraclecommunity
via Oracle Community by 429319, 1 year ago
/SetSecureAgentOPS.pl /agent/agent10g has Failed to perform. ExceptionMessage=No RSA host key is known for rac1 and you have requested strict checking.Host key verification failed. :failed. Terminating...

Solution icon of oraclecommunity
via Oracle Community by 942184, 11 months ago
Failed to decode password. Unable to retrieve decryption key. null

Solution icon of stackoverflow
via Stack Overflow by Rachita Nanda
, 8 months ago
[decrypt] error:1e06b065:Cipher functions:EVP_DecryptFinal_ex:BAD_DECRYPT

Solution icon of googlegroups
via Google Groups by Unknown author, 1 year ago
java.lang.IllegalArgumentException: AWS Access Key ID and Secret Access Key must be specified as the username or password (respectively) of a s3n URL, or by setting the fs.s3n.awsAccessKeyId or fs.s3n.awsSecretAccessKey properties (respectively).

Solution icon of googlegroups
via Google Groups by 唐焱, 2 months ago
java.lang.IllegalArgumentException: AWS Access Key ID and Secret Access Key must be specified as the username or password ( respectively) of a s3n URL, or by setting the fs.s3n.awsAccessKeyId or fs. s3n.awsSecretAccessKey properties (respectively).

Solution icon of stackoverflow
failed to scan C:\Users\ms\workspaces\comet4\PubServerTests\build\com\priint\pubserver\tests\testsuites using wildcard patterns [**/*Test.class] -- org.junit.runners.model.InitializationError

Solution icon of oraclecommunity
via Oracle Community by 968325, 11 months ago
Cannot connect to database using DBUtil

Solution icon of oraclecommunity
via Oracle Community by Jenna_C, 11 months ago
Cannot connect to database using DBUtil

Stack trace

  • java.lang.Exception: Failed to decrypt AES secret key using RSA. at in.gov.uidai.auth.aua.helper.DataDecryptor.decryptSecretKeyData(DataDecryptor.java:273) at in.gov.uidai.auth.aua.helper.DataDecryptor.decrypt(DataDecryptor.java:134) at in.gov.uidai.auth.aua.httpclient.KycClient.performKyc(KycClient.java:231) at in.gov.uidai.srdh.aua.ws.impl.KYCServiceImpl.authenticateKycRequest(KYCServiceImpl.java:305) 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 org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173) at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89) at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:167) at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:94) at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37) at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:123) at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:207) at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154) at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:126) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:185) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:108) at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:958) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:452) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: javax.crypto.NoSuchPaddingException: OAEPWITHSHA-256ANDMGF1PADDING unavailable with RSA. at org.bouncycastle.jcajce.provider.asymmetric.rsa.CipherSpi.engineSetPadding(Unknown Source) at javax.crypto.Cipher$Transform.setModePadding(Cipher.java:377) at javax.crypto.Cipher.getInstance(Cipher.java:670) at javax.crypto.Cipher.getInstance(Cipher.java:596) at in.gov.uidai.auth.aua.helper.DataDecryptor.decryptSecretKeyData(DataDecryptor.java:262) ... 46 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.