Quantcast
Channel: SCN : All Content - SAP Enterprise Portal
Viewing all articles
Browse latest Browse all 3876

How Solve this iaik.pkcs.pkcs1.b.b(Unknown Source) Error.

$
0
0

Hi Experts

 

I am trying to decrypt the user login credentials while logging to SAP portal.  Bellow code is used.

 

  PrivateKey privKey = bean.getRandomKey();

  Cipher cipher = Cipher.getInstance("RSA");

  cipher.init(Cipher.DECRYPT_MODE,privKey);

  cipherData = cipher.doFinal(new BASE64Decoder().decodeBuffer(enPwd));

 

But I am getting the error specified below, May I kindly request you please give me some approach to resolve this problem if you have come across the same issue earlier.

 

iaik.pkcs.pkcs1.b.b(Unknown Source)

iaik.pkcs.pkcs1.RSACipher.a(Unknown Source)

iaik.pkcs.pkcs1.RSACipher.engineDoFinal(UnknownSource)

javax.crypto.Cipher.doFinal(DashoA12275)

 

We use SAP Portal version 7.01 SP12 and JDK 1.4.2_19.

 

 

Configtool to set the path  of the cookie and domain of the cookie are Changed.

"cluster-data" -> "Global Server Configuration" -> "services" -> "servlet_jsp"

Please find the attached image.


But Default setting are there that time it's working,But some security region that settings customized.the following way

  • JSESSIONID.CookieDomain = SERVER (Default value)
  • SESSIONID.CookiePath = APPLICATION(Custom values)
  • SAPLB.CookiePath = APPLICATION(Custom values)
  • SAPLB.CookieDomain = SERVER(Custom values)


This below settings is there that time working fine.

  • SESSIONID.CookiePath = /(Default values)
  • SAPLB.CookiePath = / (Default values)
  • SAPLB.CookieDomain = NONE(Default values)

 

Please give your suggestion and Help...Solution is Required.

 

 

Thank you && Regards,

Durga Rao


Viewing all articles
Browse latest Browse all 3876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>