[ https://issues.apache.org/jira/browse/KAFKA-13890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17534142#comment-17534142 ]
RivenSun commented on KAFKA-13890: ---------------------------------- I'm not sure if it's appropriate to add a validator here. I just want to supplement the documentation. Currently, the default supported values of kafka are [JKS , PKCS12, PEM]. Maybe users can customize their own SslEngineFactory through the `ssl.engine.factory.class` parameter to support other values than [JKS , PKCS12, PEM]. > Improve documentation of ssl.keystore.type and ssl.truststore.type > ------------------------------------------------------------------ > > Key: KAFKA-13890 > URL: https://issues.apache.org/jira/browse/KAFKA-13890 > Project: Kafka > Issue Type: Improvement > Components: documentation > Reporter: RivenSun > Priority: Major > > As mentioned in > [KIP-651|https://cwiki.apache.org/confluence/display/KAFKA/KIP-651+-+Support+PEM+format+for+SSL+certificates+and+private+key] > {quote}A new key store type `PEM` will be added for key and trust stores. > Both ssl.keystore.type and ssl.truststore.type may specify PEM in addition to > JKS and PKCS12. > {quote} > > Now the documentation of these two parameters does not indicate which > optional values are available, only a default value is shown. > Take the > [ssl.truststore.type|https://kafka.apache.org/documentation/#brokerconfigs_ssl.truststore.type] > parameter as an example, > The revised document is: > {code:java} > The file format of the trust store file. Valid values are: JKS , PKCS12, > PEM.{code} > At the same time, we can also add corresponding validators for these two > parameters. -- This message was sent by Atlassian Jira (v8.20.7#820007)