Would be good to have some copypasta for generation of TLS certificates, especially certificates signed in a chain.
I have done this myself (twitchyliquid64/certlib), but don't pretend to be a crypto expert so I am hesitant to make a PR - I will probably have some problems.