cerebro icon indicating copy to clipboard operation
cerebro copied to clipboard

sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Open gittygoo opened this issue 4 years ago • 2 comments

On version 0.8.5.1 i was just able to add "play.ws.ssl.loose.acceptAnyCertificate=true" and this error would not show up. i just tried 0.9.0 with the same variable and i get the error "sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"

How can i solve this? I am using self signed certificates and cerebro is on docker

gittygoo avatar May 19 '20 17:05 gittygoo

On new version there is a play bloc in de new default configuration, just copy it and add the acceptAnyCertificate inside:

play {
  # Cerebro port, by default it's 9000 (play's default)
  server.http.port = ${?CEREBRO_PORT}
  ws.ssl.loose.acceptAnyCertificate = true
}

It work for me

yoda1490 avatar Jun 29 '20 15:06 yoda1490

thanks

simao-k avatar Oct 11 '23 07:10 simao-k