Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Space around equals in ini files?

Hi,

On Sat, Jan 18, 2025 at 3:11 AM Michael B Allen via jetty-users
<jetty-users@xxxxxxxxxxx> wrote:
>
> Just trying Jetty 12 and noticed something strange.
>
> In start.d/ssl.ini I had:
>
> jetty.sslContext.keyStorePath = as1d2.p12
> jetty.sslContext.keyStorePassword = as1d2
>
> Jetty fails to find this file.
>
> If I remove the spaces around the equals symbols:
>
> jetty.sslContext.keyStorePath=as1d2.p12
> jetty.sslContext.keyStorePassword=as1d2
>
> Jetty successfully reads the file and runs ok.
>
> Are spaces around equals symbols in Jetty .ini files really not permitted?

It's better not to use them, as they are legal characters for both
paths and passwords (and other values).

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.


Back to the top