Adding Certificate to Docker Container on Swarm


I have a containerized application from three parts running on Docker Swarm. Now, I need to add Certificate in container to establish connection with SharePoint. What is the best way to add and install that certificate?

Thank you in advance!

I am afraid those are not enough information, as it depends on what truststore your application needs to access in order to validate the chain of trust.