I am using version 2.8.1 of the Aerospike Spark connector to read data from the Aerospike server. Although our Aerospike server does not require client certificate validation and only needs the tlsName parameter to establish a secure connection, when I set aerospike.tls.enabletls: true and aerospike.tls.tlsname: <tlsName> in the Aerospike Spark connector, I receive an error with reason code java.lang.IllegalArgumentException. The error message indicates that the mandatory TLS truststore properties (aerospike.tls.truststore-store-file and aerospike.tls.truststore-store-password-file) is missing.
However, in our Java application (not Spark), we are able to successfully read data from the Aerospike server by only providing the tlsName parameter without any additional truststore properties.
AS Client Version: 6.1.2