Thanks I solved the problem generating again the keystore file :-)


On Thu, Jan 14, 2010 at 4:35 PM, Scott Battaglia
<[email protected]>wrote:

> There's some problem with your certificate on the CAS server.  Try looking
> that error up in Google or Bing.
>
> Cheers,
> Scott
>
>
> On Thu, Jan 14, 2010 at 3:20 PM, Teofilo copa <[email protected]> wrote:
>
>> Hi all Im introducing into CAS Single sign on
>> how I can obtain the user Logged in CAS?
>> I tryed this:
>>  String casServerURL = "https://localhost:8443/cas";;
>>             Cas10TicketValidator tv = new
>> Cas10TicketValidator(casServerURL);
>>             String legacyURL = "http://localhost:8080/activos";;
>>             Assertion a = tv.validate(ticket, legacyURL);
>>
>>             p = a.getPrincipal();
>>             System.out.println(p.getName());
>>             return false;
>>
>> but this catch this Exception:
>>
>> ava.lang.RuntimeException: javax.net.ssl.SSLException: 
>> java.lang.RuntimeException: Unexpected error: 
>> java.security.InvalidAlgorithmParameterException: the trustAnchors parameter 
>> must be non-empty
>>
>>
>>
>>
>>      
>> org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:295)
>>
>>
>> --
>> You are currently subscribed to [email protected] as: 
>> [email protected]
>>
>>
>>
>> To unsubscribe, change settings or access archives, see 
>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>
>>
> --
> You are currently subscribed to [email protected] as: [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to