I want to use Play WS to invoke multiple other services in my application.
Given this docs, https://www.playframework.com/documentation/2.4.x/WSQuickStart
I know how to point trust manager at the PEM file. But question here is how about I want to invoke multiple web services and each of them has different root certificates? How can I specify mutiple certs?
play.ws.ssl {
trustManager = {
stores = [
{ type = "PEM", path = "/path/to/cert/globalsign.crt" }
]
}
}
Also, if some of the services using a public trust certificate, whether the above code will take effect to those services?