Use certificates and nginx

Ok to rephrase this, of course I will have to expose 443, but I want nginx to secure the connection by using mTLS as described in

Feasibility of hosting Teddycloud

My question is:
In the example nginx configs that are provided in that thread, different certificates and keys are used.
Do they differ from the certificates provided during teddycloud initial startup?
If so, how were they generated?
How were the keys generated?

Im referring to:

Thanks for any help!