So I have tested my certifications using the suggested SSLPoke tool, and I know I can use the java option -Djavax.net.ssl.trustStore=<path> to make CAS use the correct custom java truststore for my ldap connection. I was even able to get it to run like java -Djavax.net.ssl.trustStore=<path> -jar target/cas.war. However I am trying to set it up to use ./build.sh run maven command.
My question is how can I set a custom truststore for CAS to run? There is a keystore property, and a trustCertificates property (which does not take a keystore, only loose certs). There is a truststore property for server or httpClient. I must be missing something, because this seems like a pretty common usage case. Or is there a way to set the execution command? Or an environmental variable I can set? (I tried JAVA_OPTS, MAVEN_OPTS, CATALINA_OPTS etc) I have tried many things, but there is so much documentation I am having trouble finding this specific answer. I appreciate any advice, hopefully this isn't something extremely obvious that is just eluding me because I have been staring at it for so long. -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAMM6z%2BKXXY-j_iFi3KjNBj%2BT1FK1mJJoPS0vavqZvsaw1yUE4g%40mail.gmail.com.