I think we should settle on one name "TLS" or "SSL" in the documentation.

In the manual, this is confusing:

    <TLSSyslog name="bsd" host="localhost" port="6514">
      <SSL>
        <KeyStore location="log4j2-keystore.jks" password="changeme"/>
        <TrustStore location="truststore.jks" password="changeme"/>
      </SSL>
    </TLSSyslog>

Am I using SSL or TLS?

We can pick "SSL" for broader recognition but the code really defaults to
using the newer protocol and default TLS implementation in Java.

A simpler view would be to have:

    <SecureSyslog name="bsd" host="localhost" port="6514">
      <Security>
        <KeyStore location="log4j2-keystore.jks" password="changeme"/>
        <TrustStore location="truststore.jks" password="changeme"/>
      </Security>
    </SecureSyslog>

Then if we want to pick some version of TLS or SSL, this can be done with
an attribute on some element.

Gary
-- 
E-Mail: [email protected] | [email protected]
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to