Dynamically generate self-signed certificates and certificate authorities within your test functions.