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

Lets see the entire stacktrace.

That might be more useful.

Joakim Erdfelt / joakim@xxxxxxxxxxx

On Fri, Feb 3, 2017 at 2:44 PM, west suhanic <west.suhanic@xxxxxxxxx> wrote:

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

jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top