Estou com este erro para configurar o keycloak. Localhost para acessar em uma configuração em um servidor externo. Parace estar dando erro porque eu não instalei o certificado. Mas não consegui achar o arquivo .pem.
Alguém já passou por isto ?
2023-09-11 14:05:57.593 DEBUG 18460 --- [nio-8002-exec-2] o.k.adapters.PreAuthActionsHandler : adminRequest http://127.0.0.1:8002/api/usuario/getUserLi
2023-09-11 14:05:57.594 DEBUG 18460 --- [nio-8002-exec-2] .k.a.t.AbstractAuthenticatedActionsValve : AuthenticatedActionsValve.invoke /api/usuario/getUserLi
2023-09-11 14:05:57.594 DEBUG 18460 --- [nio-8002-exec-2] o.k.a.AuthenticatedActionsHandler : AuthenticatedActionsValve.invoke http://127.0.0.1:8002/api/usuario/getUserLi
2023-09-11 14:05:57.594 DEBUG 18460 --- [nio-8002-exec-2] o.k.a.AuthenticatedActionsHandler : Policy enforcement is disabled.
2023-09-11 14:05:57.593 DEBUG 18460 --- [nio-8002-exec-1] o.k.adapters.PreAuthActionsHandler : adminRequest http://127.0.0.1:8002/api/estrutura/getmodulosResources
2023-09-11 14:05:57.594 DEBUG 18460 --- [nio-8002-exec-1] .k.a.t.AbstractAuthenticatedActionsValve : AuthenticatedActionsValve.invoke /api/estrutura/getmodulosResources
2023-09-11 14:05:57.594 DEBUG 18460 --- [nio-8002-exec-1] o.k.a.AuthenticatedActionsHandler : AuthenticatedActionsValve.invoke http://127.0.0.1:8002/api/estrutura/getmodulosResources
2023-09-11 14:05:57.594 DEBUG 18460 --- [nio-8002-exec-1] o.k.a.AuthenticatedActionsHandler : Policy enforcement is disabled.
2023-09-11 14:05:57.594 INFO 18460 --- [nio-8002-exec-2] o.a.c.c.C.[Tomcat-1].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2023-09-11 14:05:57.594 INFO 18460 --- [nio-8002-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2023-09-11 14:05:57.597 INFO 18460 --- [nio-8002-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 3 ms
Filtering on...........................................................
2023-09-11 14:05:57.599 DEBUG 18460 --- [nio-8002-exec-2] o.k.adapters.PreAuthActionsHandler : adminRequest http://127.0.0.1:8002/api/usuario/getUserLi
2023-09-11 14:05:57.599 DEBUG 18460 --- [nio-8002-exec-2] f.KeycloakAuthenticationProcessingFilter : Attempting Keycloak authentication
2023-09-11 14:05:57.599 TRACE 18460 --- [nio-8002-exec-2] o.k.adapters.RequestAuthenticator : --> authenticate()
2023-09-11 14:05:57.599 TRACE 18460 --- [nio-8002-exec-2] o.k.adapters.RequestAuthenticator : try bearer
2023-09-11 14:05:57.600 DEBUG 18460 --- [nio-8002-exec-2] o.k.a.BearerTokenRequestAuthenticator : Found [1] values in authorization header, selecting the first value for Bearer.
2023-09-11 14:05:57.600 DEBUG 18460 --- [nio-8002-exec-2] o.k.a.BearerTokenRequestAuthenticator : Verifying access_token
Filtering on...........................................................
2023-09-11 14:05:57.600 TRACE 18460 --- [nio-8002-exec-2] o.k.a.BearerTokenRequestAuthenticator : access_token: eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJEUHZhVFJpd2NFNGN0UGtsaUdyXzVuT2FhdEJJR0h1VnlvdzNqRWdERnFZIn0.eyJleHAiOjE2OTQ0NTIyNTUsImlhdCI6MTY5NDQ1MTk1NSwiYXV0aF90aW1lIjoxNjk0NDQxNjYxLCJqdGkiOiIzYjVjNGVlOC02MDc2LTQ3ZmMtODcwOC00MGRkOGYzZTAzOTEiLCJpc3MiOiJodHRwczovL3ZwczQ0MzE0LnB1YmxpY2Nsb3VkLmNvbS5icjo4NTQzL3JlYWxtcy9lY29zaXN0ZW1hIiwiYXVkIjpbImJhY2tlbmQiLCJhY2NvdW50Il0sInN1YiI6IjAwM2Y2ZTM0LTM0YzItNDIxYy04MDdmLTAzZmYzYjcwMGQyMCIsInR5cCI6IkJlYXJlciIsImF6cCI6ImFwcC12dWUyIiwibm9uY2UiOiI4YTU4OGU5My05Mjg1LTQ1MWEtYjI0Yi03MjMwOTZmNzIyYWMiLCJzZXNzaW9uX3N0YXRlIjoiMDIyYTJhODYtOWIxMy00YzUxLTgxOTItYjkzNTJjZDM1MjQ5IiwiYWNyIjoiMCIsImFsbG93ZWQtb3JpZ2lucyI6WyJodHRwOi8vbG9jYWxob3N0OjgwODEiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRlZmF1bHQtcm9sZXMtZWNvc2lzdGVtYSIsIm9mZmxpbmVfYWNjZXNzIiwidW1hX2F1dGhvcml6YXRpb24iXX0sInJlc291cmNlX2FjY2VzcyI6eyJiYWNrZW5kIjp7InJvbGVzIjpbIkFETUlOSVNUUkFET1IiLCJDT05URVVESVNUQSIsIlNVUEVSVklTT1IiLCJBTFVOTyJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjAyMmEyYTg2LTliMTMtNGM1MS04MTkyLWI5MzUyY2QzNTI0OSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJuYW1lIjoiR3VpbGhlcm1lIENvc3RhIExvcGVzIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZ3VpbGhlcm1lLmxvcGVzIiwiZ2l2ZW5fbmFtZSI6Ikd1aWxoZXJtZSIsImZhbWlseV9uYW1lIjoiQ29zdGEgTG9wZXMiLCJlbWFpbCI6Imd1aWxoZXJtZUBuZXRzb2Z0LmV0aS5iciJ9.signature
2023-09-11 14:05:57.600 DEBUG 18460 --- [nio-8002-exec-2] o.keycloak.adapters.KeycloakDeployment : Resolving URLs from https://xxx.com:8543/realms/xxxx/.well-known/openid-configuration
2023-09-11 14:05:57.601 DEBUG 18460 --- [nio-8002-exec-1] o.k.adapters.PreAuthActionsHandler : adminRequest http://127.0.0.1:8002/api/estrutura/getmodulosResources
2023-09-11 14:05:57.601 DEBUG 18460 --- [nio-8002-exec-1] f.KeycloakAuthenticationProcessingFilter : Attempting Keycloak authentication
2023-09-11 14:05:57.601 TRACE 18460 --- [nio-8002-exec-1] o.k.adapters.RequestAuthenticator : --> authenticate()
2023-09-11 14:05:57.601 TRACE 18460 --- [nio-8002-exec-1] o.k.adapters.RequestAuthenticator : try bearer
2023-09-11 14:05:57.601 DEBUG 18460 --- [nio-8002-exec-1] o.k.a.BearerTokenRequestAuthenticator : Found [1] values in authorization header, selecting the first value for Bearer.
2023-09-11 14:05:57.601 DEBUG 18460 --- [nio-8002-exec-1] o.k.a.BearerTokenRequestAuthenticator : Verifying access_token
2023-09-11 14:05:57.602 TRACE 18460 --- [nio-8002-exec-1] o.k.a.BearerTokenRequestAuthenticator : access_token: eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJEUHZhVFJpd2NFNGN0UGtsaUdyXzVuT2FhdEJJR0h1VnlvdzNqRWdERnFZIn0.eyJleHAiOjE2OTQ0NTIyNTUsImlhdCI6MTY5NDQ1MTk1NSwiYXV0aF90aW1lIjoxNjk0NDQxNjYxLCJqdGkiOiIzYjVjNGVlOC02MDc2LTQ3ZmMtODcwOC00MGRkOGYzZTAzOTEiLCJpc3MiOiJodHRwczovL3ZwczQ0MzE0LnB1YmxpY2Nsb3VkLmNvbS5icjo4NTQzL3JlYWxtcy9lY29zaXN0ZW1hIiwiYXVkIjpbImJhY2tlbmQiLCJhY2NvdW50Il0sInN1YiI6IjAwM2Y2ZTM0LTM0YzItNDIxYy04MDdmLTAzZmYzYjcwMGQyMCIsInR5cCI6IkJlYXJlciIsImF6cCI6ImFwcC12dWUyIiwibm9uY2UiOiI4YTU4OGU5My05Mjg1LTQ1MWEtYjI0Yi03MjMwOTZmNzIyYWMiLCJzZXNzaW9uX3N0YXRlIjoiMDIyYTJhODYtOWIxMy00YzUxLTgxOTItYjkzNTJjZDM1MjQ5IiwiYWNyIjoiMCIsImFsbG93ZWQtb3JpZ2lucyI6WyJodHRwOi8vbG9jYWxob3N0OjgwODEiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRlZmF1bHQtcm9sZXMtZWNvc2lzdGVtYSIsIm9mZmxpbmVfYWNjZXNzIiwidW1hX2F1dGhvcml6YXRpb24iXX0sInJlc291cmNlX2FjY2VzcyI6eyJiYWNrZW5kIjp7InJvbGVzIjpbIkFETUlOSVNUUkFET1IiLCJDT05URVVESVNUQSIsIlNVUEVSVklTT1IiLCJBTFVOTyJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgcHJvZmlsZSBlbWFpbCIsInNpZCI6IjAyMmEyYTg2LTliMTMtNGM1MS04MTkyLWI5MzUyY2QzNTI0OSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJuYW1lIjoiR3VpbGhlcm1lIENvc3RhIExvcGVzIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZ3VpbGhlcm1lLmxvcGVzIiwiZ2l2ZW5fbmFtZSI6Ikd1aWxoZXJtZSIsImZhbWlseV9uYW1lIjoiQ29zdGEgTG9wZXMiLCJlbWFpbCI6Imd1aWxoZXJtZUBuZXRzb2Z0LmV0aS5iciJ9.signature
2023-09-11 14:05:57.689 WARN 18460 --- [nio-8002-exec-2] o.keycloak.adapters.KeycloakDeployment : Failed to load URLs from https://xxx.com:8543/realms/xxxx/.well-known/openid-configuration
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131) ~[na:na]
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:378) ~[na:na]
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321) ~[na:na]
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:316) ~[na:na]
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1357) ~[na:na]
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1232) ~[na:na]
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1175) ~[na:na]
at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:396) ~[na:na]
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:480) ~[na:na]
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:458) ~[na:na]
at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:201) ~[na:na]
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172) ~[na:na]
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1510) ~[na:na]
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1425) ~[na:na]
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455) ~[na:na]
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426) ~[na:na]
at org.apache.http.conn.ssl.SSLSocketFactory.createLayeredSocket(SSLSocketFactory.java:570) ~[httpclient-4.5.13.jar:4.5.13]
at org.keycloak.adapters.SniSSLSocketFactory.createLayeredSocket(SniSSLSocketFactory.java:119) ~[keycloak-adapter-core-20.0.3.jar:20.0.3]
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:554) ~[httpclient-4.5.13.jar:4.5.13]
at org.keycloak.adapters.SniSSLSocketFactory.connectSocket(SniSSLSocketFactory.java:114) ~[keycloak-adapter-core-20.0.3.jar:20.0.3]
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) ~[httpclient-4.5.13.jar:4.5.13]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[httpclient-4.5.13.jar:4.5.13]
at org.keycloak.adapters.KeycloakDeployment.getOidcConfiguration(KeycloakDeployment.java:230) ~[keycloak-adapter-core-20.0.3.jar:20.0.3]
at org.keycloak.adapters.KeycloakDeployment.resolveUrls(KeycloakDeployment.java:182) ~[keycloak-adapter-core-20.0.3.jar:20.0.3]
at org.keycloak.adapters.KeycloakDeployment.getRealmInfoUrl(KeycloakDeployment.java:246) ~[keycloak-adapter-core-20.0.3.jar:20.0.3]
at org.keycloak.adapters.rotation.AdapterTokenVerifier.createVerifier(AdapterTokenVerifier.java:107) ~[keycloak-adapter-core-20.0.3.jar:20.0.3]
at org.keycloak.adapters.rotation.AdapterTokenVerifier.verifyToken(AdapterTokenVerifier.java:47) ~[keycloak-adapter-core-20.0.3.jar:20.0.3]
at org.keycloak.adapters.BearerTokenRequestAuthenticator.authenticateToken(BearerTokenRequestAuthenticator.java:105) ~[keycloak-adapter-core-20.0.3.jar:20.0.3]
at org.keycloak.adapters.BearerTokenRequestAuthenticator.authenticate(BearerTokenRequestAuthenticator.java:90) ~[keycloak-adapter-core-20.0.3.jar:20.0.3]
at org.keycloak.adapters.RequestAuthenticator.authenticate(RequestAuthenticator.java:67) ~[keycloak-adapter-core-20.0.3.jar:20.0.3]
at org.keycloak.adapters.springsecurity.filter.KeycloakAuthenticationProcessingFilter.attemptAuthentication(KeycloakAuthenticationProcessingFilter.java:154) ~[keycloak-spring-security-adapter-20.0.3.jar:20.0.3]
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:223) ~[spring-security-web-5.6.2.jar:5.6.2]
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:213) ~[spring-security-web-5.6.2.jar:5.6.2]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.6.2.jar:5.6.2]
at org.keycloak.adapters.springsecurity.filter.KeycloakPreAuthActionsFilter.doFilter(KeycloakPreAuthActionsFilter.java:96) ~[keycloak-spring-security-adapter-20.0.3.jar:20.0.3]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.6.2.jar:5.6.2]
at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) ~[spring-web-5.3.18.jar:5.3.18]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.18.jar:5.3.18]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.6.2.jar:5.6.2]
at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) ~[spring-security-web-5.6.2.jar:5.6.2]
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) ~[spring-security-web-5.6.2.jar:5.6.2]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.18.jar:5.3.18]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.6.2.jar:5.6.2]
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110) ~[spring-security-web-5.6.2.jar:5.6.2]
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80) ~[spring-security-web-5.6.2.jar:5.6.2]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.6.2.jar:5.6.2]
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) ~[spring-security-web-5.6.2.jar:5.6.2]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.18.jar:5.3.18]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.6.2.jar:5.6.2]
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211) ~[spring-security-web-5.6.2.jar:5.6.2]
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183) ~[spring-security-web-5.6.2.jar:5.6.2]
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) ~[spring-web-5.3.18.jar:5.3.18]
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) ~[spring-web-5.3.18.jar:5.3.18]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.18.jar:5.3.18]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.18.jar:5.3.18]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.3.18.jar:5.3.18]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.18.jar:5.3.18]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.18.jar:5.3.18]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.18.jar:5.3.18]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at com.backend.main.config.CORSFilter.doFilter(CORSFilter.java:32) ~[classes/:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.keycloak.adapters.tomcat.AbstractAuthenticatedActionsValve.invoke(AbstractAuthenticatedActionsValve.java:67) ~[spring-boot-container-bundle-20.0.3.jar:20.0.3]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.keycloak.adapters.tomcat.AbstractKeycloakAuthenticatorValve.invoke(AbstractKeycloakAuthenticatorValve.java:181) ~[spring-boot-container-bundle-20.0.3.jar:20.0.3]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1743) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-embed-core-9.0.60.jar:9.0.60]
at java.base/java.lang.Thread.run(Thread.java:833) ~[na:na]
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) ~[na:na]
at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) ~[na:na]
at java.base/sun.security.validator.Validator.validate(Validator.java:264) ~[na:na]
at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231) ~[na:na]
at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:132) ~[na:na]
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1341) ~[na:na]
... 92 common frames omitted
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:146) ~[na:na]
at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:127) ~[na:na]
at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) ~[na:na]
at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) ~[na:na]
... 97 common frames omitted
Com baixar o certificado ?