# Problem using jdbc-input plugin with Oracle PKI/Cert Authentication

**URL:** <https://discuss.elastic.co/t/problem-using-jdbc-input-plugin-with-oracle-pki-cert-authentication/150931>\
**Category:** Logstash\
**Created:** [October 3, 2018, 7:18pm UTC](https://discuss.elastic.co/t/problem-using-jdbc-input-plugin-with-oracle-pki-cert-authentication/150931 "2018-10-03T19:18:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmstein](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@jmstein](https://discuss.elastic.co/u/jmstein)\
**Post date:** [October 3, 2018, 7:18pm UTC](https://discuss.elastic.co/t/problem-using-jdbc-input-plugin-with-oracle-pki-cert-authentication/150931/1 "2018-10-03T19:18:14Z")

</div>

I have one Oracle database using username/password authentication, and another Oracle database using PKI authentication. I've successfully gotten the Logstash jdbc-input plugin working with the username/password authentication DB.

However, I am unable to get it working with the PKI authentication DB. When I try to run Logstash against it, I get the following error:  
"IO Error: Got minus one from a read call"

I think I set things up properly, but maybe not? Before running Logstash, I added my trust store, key store, etc. to the LS\_JAVA\_OPTS environment variable. I omitted the password from the Logstash jdbc-input config. Am I missing something here?

Or maybe the jdbc-input plugin does not work with PKI/cert authentication?

Any help would be appreciated. Thank you!

---

<div class="post-metadata">

**Author:** ![jmstein](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@jmstein](https://discuss.elastic.co/u/jmstein)\
**Post date:** [October 4, 2018, 1:18pm UTC](https://discuss.elastic.co/t/problem-using-jdbc-input-plugin-with-oracle-pki-cert-authentication/150931/2 "2018-10-04T13:18:01Z")

</div>

Small update--I did not have my certs in the right location. Fixed that issue, but getting this new error now...

"ORA-01017: invalid username/password; logon denied"

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 1, 2018, 1:18pm UTC](https://discuss.elastic.co/t/problem-using-jdbc-input-plugin-with-oracle-pki-cert-authentication/150931/3 "2018-11-01T13:18:01Z")

</div>

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