log Trust Material source at SslPropertiesBundleRegistrar.registerBundles method.
If add Trust Material source at SslBundle.toString, need to pass Trust Material source to JksSslStoreBundle, PemSslStoreBundle and WebServerSslStoreBundle, feels like it violates the semantics of SslBundle. And Tomcat print Material source at AbstractEndpoint.createSSLContext method, so I implemented a similar method to solve this issue.
Closes #39057
Comment From: wilkinsona
Thanks for the suggestion but we really do want to do this through toString() rather than logging if possible. I've added the pending-design-work label to #39057 as we're not yet sure how to do that or even certain that it's possible in a way that we'll find acceptable.
Comment From: Wzy19930507
Thanks for review and explanation.