Normally you do not ship certificates[*]. So the good news is that it's not your problem.
If you want a chain-of-logic reasoning behind this: In order for TLS to fulfill its function, at least the server needs a private key. The private key's public part is part of the certificate (that is to say, the private key and the public certificate are paired). So if you would distribute a server certificate you'd need to distribute the private key as well, which is a big no-no. (Edge-cases aside, like passing along test PKI files, or hard-coded default PKI files (which is generally not a good idea)).
There's a saying in security that I don't have memorized, but it's something along the line of: The system's design should never need to be a secret, only the passwords and keys should be secret in order to secure the system. (It follows that private keys must be kept private).
Your role as a TLS-enabled application developer is to chose how keys/certificates are configured (should the user specify paths, or should it read from the system's credential store), how TLS parameters are configured, make sure you use validation correctly and choose whether to support mutual authentication or not. Beyond that (i.e. setting up the actual PKI) is up to the user.
As a service to the users, if the application is meant to be publicly deployed you could point them to Let's Encrypt. But truth be told, I think that these days most people who will be setting up public TLS servers probably already know about them, or will soon find out, whether you mention them or not.
Also, test your TLS server's configuration using https://www.ssllabs.com/ (This is generally seen as a deployment test, but there are things you - as a developer - can do with the results). (Don't worry about getting a horrible grade because you're using self-signed test certificates, look at recommended TLS parameter changes). If my memory serves me correctly, rustls's defaults tended to yield a pretty good score.
[*] Unless you're acting as a CA and you intend to create certificates for your users under your CA, then you could distribute your root CA (chain). This is opening a mind-numbingly magnificent can of worms, so please do not have those plans.