Try your security-config.xml

<bean id="casProxyTicketValidator"

class="org.acegisecurity.providers.cas.ticketvalidator.CasProxyTicketValidator">
        <property
name="casValidate"><value>${cas.server.validateUrl}</value></property>
        <property name="serviceProperties"><ref
bean="serviceProperties"/></property>
        <property
name="trustStore"><value>${cas.client.trustStore}</value></property>
    </bean>

You can tell CAS to use the truststore you put there.

2008/9/16 Alatalo, Antoni <[EMAIL PROTECTED]>

>  Hi,
> thank you for response. Probably you have some more configurations? I
> couldn't find any configuration ore class that uses such parameter.
>
>
> Terv.
> Antoni
>
>
>  ------------------------------
> *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Pablo Mosquera Saenz
> *Sent:* 16. syyskuuta 2008 10:27
> *To:* Yale CAS mailing list
> *Subject:* Re: Jboss + Apache + SSL + Virtual Hosts + CAS
>
>  I dont know if this can help you, but you can config CAS telling where
> the keystore is:
>
> In my app:
>
>
> cas.client.trustStore=/usr/local/java/jdk1.5.0_12/jre/lib/security/gen.keystore
>
> The problem is that I have a similar config, but instead of apache I have
> IIS. When I use machine:port urls for my cas config (loginUrl and
> validateUrl for example) it works, but when using a hostname (resolved by
> IIS) it doesn´t work and I have a PKIX exception
>
> 2008/9/16 Alatalo, Antoni <[EMAIL PROTECTED]>
>
>> Anyone?
>>
>>
>> Terv.
>> Antoni
>>
>>
>>
>> ________________________________
>>
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>> Behalf Of Alatalo, Antoni
>> Sent: 12. syyskuuta 2008 9:58
>> To: [email protected]
>> Subject: Jboss + Apache + SSL + Virtual Hosts + CAS
>>
>>
>> Hi,
>> I have  an Liferay running under Jboss. Liferay have several virtual hosts
>> inside. Each of them uses it's own cas application. Cas applications runs
>> also under Jboss.
>> Because of ssl i needed to install Apache in front of Jboss. There is
>> regular configurations in httpd.conf to use virtual hosts and use also ssl
>> with this hosts.
>> Everything works fine when i don't need CAS, but while autehntication CAS
>> does not find valid sertificates. Sertificates are self created with openssl
>> and keytool and are added to jvm's cacerts file.
>> Jbosses tomcat is configured to use only port 8109.
>>
>> How do i tell CAS or Jboss to try to find hosts sertificate from cacerts?
>>
>> Thank you
>> Antoni Alatalo
>> Ohjelmistoasiantuntija
>> Kuntatoimiala, sosiaalitoimi
>> _________________________________________
>>
>> Logica - Releasing your potential
>>
>> Karvaamokuja 2
>> PL 38
>> 00381 Helsinki
>> Tel: +358 10 302 010
>> Mob: +358 40 583 1097
>> [EMAIL PROTECTED]
>> www.logica.fi <http://www.logicacmg.fi>
>> WM-datan nimi on nyt Logica.
>>
>> _______________________________________________
>> Yale CAS mailing list
>> [email protected]
>> http://tp.its.yale.edu/mailman/listinfo/cas
>>
>
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to