[cas-dev] CAS version 3.0.7 and BlackBoard Version 6
Scott Battaglia
scott.battaglia at gmail.com
Mon Sep 3 23:21:12 EDT 2007
Darren,
Is it possible that either the keystore (Tomcat's) or the JVM's is messed up
somehow?
-Scott
On 8/31/07, Darren Kraker <dkraker at calpoly.edu> wrote:
>
> We're trying to upgrade our CAS server from 2.x to 3.0.7 and are having
> trouble with the java casclient version 2.1.1. The client works fine in
> all other environments but when running the jar file in the Blackboard
> tomcat app server we're getting a javax.net.ssl.SSLException: Invalid
> padding which is caused by javax.crypto.BadPaddingException: Invalid TLS
> padding: 101
>
> I've added lots of debug code to the cas client to discover it fails on
> the call to getInputStream() within this block of SecureURL.java.
>
> URLConnection uc = u.openConnection();
> uc.setRequestProperty("Connection", "close");
> r = new BufferedReader(new InputStreamReader(uc.getInputStream()));
>
> I'm running
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
>
> on Linux 2.4.21-32.0.1.ELsmp #1 SMP Tue May 17 17:52:23 EDT 2005 i686
> i686 i386 GNU/Linux
>
> The same code when run outside tomcat runs fine. Any ideas?
>
> --
> Darren Kraker
> Software Engineer
> Application Management / ITS
> mailto:dkraker at calpoly.edu
> Office (805) 756-2696
> _______________________________________________
> cas-dev mailing list
> cas-dev at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas-dev
>
--
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20070903/c88eb2bd/attachment.html
More information about the cas-dev
mailing list