Hi, as the cas alias "existe déjà", you might list certificates that are stored in your keystore (/etc/cas/thekeystore) then delete the cas entry :
keytool -list -v -keystore /etc/cas/thekeystore -storepass changeit (or whatever your password is) keytool -delete -alias your_cas_server_alias -keystore thekeystore -storepass changeit (or whatever your password is) (and , this said, I would go for tomcat 10 over jdk 17, especially for cas v7.x - You can stay with tomcat 9/jdk 11 with cas 6.x especially if you want to implement cas-management besides) Le dimanche 30 avril 2023 à 19:40:50 UTC+2, tyuio...@gmail.com a écrit : > Task :createKeystore FAILED > erreur keytool : java.lang.Exception: Paire de clés non générée, l'alias > <cas> existe déjà > > FAILURE: Build failed with an exception. > > * Where: > Script '/opt/cas-overlay-template/gradle/tasks.gradle' line: 160 > > * What went wrong: > Execution failed for task ':createKeystore'. > > Process 'command 'keytool'' finished with non-zero exit value 1 > > Le vendredi 28 avril 2023 à 17:11:43 UTC+1, Ray Bon a écrit : > >> Coeurcy, >> >> And the problem is...? >> >> Ray >> >> On Fri, 2023-04-28 at 03:57 -0700, Coeurcy Mokoko wrote: >> >> Notice: This message was sent from outside the University of Victoria >> email system. Please be cautious with links and sensitive information. >> >> >> Hello, I am working on the implementation of an SSO with CAS using, >> tomcat9, ldap, lam, jdk17, I encounter several errors that I can not solve >> for a week already including the compilation of the build.gradle file, I >> really need help it's urgent...! >> >> I thank you in advance! >> >> -- - 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/3a3bcd23-a575-4fac-95fd-be7addd631e5n%40apereo.org.