Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] SslContextFactory, setKeyManagerPassword and a StringIndexOutOfBoundsException


I am using the latest stable version of jetty: jetty-9.4.1.v20170120
I am using jdk 1.8.0_121.

I am using an embedded jetty server and I call setKeyManagerPassword
on an allocated SslContextFactory object.

The call works and does what it needs to. However when I pass through
an incorrect password a StringIndexOutOfBoundsException gets thrown.
I was hoping for an exception that indicates an incorrect password.
What am I doing wrong?

thank you,

west suhanic

Back to the top