Make Docker swarm use custom certificate rather than ca cert

Right now I am trying to get location of where certificates are place on Linux servers. We can replace certificate created using rotate with 3rd part certificates.Any response would be appreciated.I have tried locations from docker documentation but could not find the same.