# Spark connector PKI support

**URL:** <https://discuss.aerospike.com/t/spark-connector-pki-support/10324>\
**Category:** Connectors\
**Created:** [July 13, 2023, 6:31pm UTC](https://discuss.aerospike.com/t/spark-connector-pki-support/10324 "2023-07-13T18:31:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexyahoo](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@alexyahoo](https://discuss.aerospike.com/u/alexyahoo)\
**Post date:** [July 13, 2023, 6:31pm UTC](https://discuss.aerospike.com/t/spark-connector-pki-support/10324/1 "2023-07-13T18:31:55Z")

</div>

I need to connect to aerospike that uses PKI authmode. I believe the authmode for PKI is 3, but it looks like the connector only supports 0,1,2

I’ve tried setting aerospike.tls.authmode to 3 unsuccessfully.

Is PKI supported or the spark connector?

thanks, Alex

---

<div class="post-metadata">

**Author:** ![meher](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/meher/32/1644_2.png) [@meher](https://discuss.aerospike.com/u/meher)\
**Post date:** [July 17, 2023, 10:18pm UTC](https://discuss.aerospike.com/t/spark-connector-pki-support/10324/2 "2023-07-17T22:18:34Z")

</div>

I believe you are correct and this is not supported at this point but I think there are plans to add such capability.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/system/32/2274_2.png) [@system](https://discuss.aerospike.com/u/system)\
**Post date:** [July 16, 2024, 10:19pm UTC](https://discuss.aerospike.com/t/spark-connector-pki-support/10324/3 "2024-07-16T22:19:21Z")

</div>

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
