Can we add the tls cert from the server side?

I wanted to create the tls cert dynamically and add those cert into the root CA’S I have gone through lot of tutorials, all of them suggest to make changes from the client side. but here I am cannot change the client code so is there a way like I can add the tls certs from the server side and just force client to use the same one.

here is the server code

which I am calling from

any suggestion will be helpful

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.