I am currently trying to authenticate with X509 while using Redis as the ticket caching registry and I get this error:
2024-10-31 17:46:44,719 ERROR [org.apereo.cas.web.flow.DefaultSingleSignOnBuildingStrategy] - <com.fasterxml.jackson.databind.JsonMappingException: access to public member failed: sun.security.x509.X509CertImpl.getInfo[Ljava.lang.Object;@86b5468/invokeVirtual, from class com.fasterxml.jackson.module.blackbird.BlackbirdModule$$Lambda/0x00007f2f419b8bd8 (unnamed module @b9dfc5a) (through reference chain: org.apereo.cas.ticket.TicketGrantingTicketImpl["authentication"]->org.apereo.cas.authentication.DefaultAuthentication["credentials"]->java.util.ArrayList[0]->edu.gatech.gtri.cas.authentication.principal.AfwpX509CertificateCredential["certificates"]->sun.security.x509.X509CertImpl[0])>
java.io.UncheckedIOException: com.fasterxml.jackson.databind.JsonMappingException: access to public member failed: sun.security.x509.X509CertImpl.getInfo[Ljava.lang.Object;@86b5468/invokeVirtual, from class com.fasterxml.jackson.module.blackbird.BlackbirdModule$$Lambda/0x00007f2f419b8bd8 (unnamed module @b9dfc5a) (through reference chain: org.apereo.cas.ticket.TicketGrantingTicketImpl["authentication"]->org.apereo.cas.authentication.DefaultAuthentication["credentials"]->java.util.ArrayList[0]->edu.gatech.gtri.cas.authentication.principal.AfwpX509CertificateCredential["certificates"]->sun.security.x509.X509CertImpl[0])
at org.jooq.lambda.Unchecked.lambda$static$0(Unchecked.java:55) ~[jool-0.9.15.jar:?]
Has anyone seen this before? there are no issues when using username/password login
this is the library I am setting in the build.gradle:
implementation "org.apereo.cas:cas-server-support-redis-ticket-registry:${project.'cas.version'}"
I am setting in the cas.properties file:
cas.ticket.registry.redis.host=(host)
cas.ticket.registry.redis.port=(port)