Security.enableSSL does not work

Description

2.0.5 SW - bin/sparkling-shell

Shows the following exception:

Activity

Show:
Mateusz Dymczyk
February 16, 2017, 3:24 PM

Hm they could be but, don't see any reason why not iirc I added a check if that file was already there so the user would have to otherwise delete them manually - I can add such a handler too.

Michal Malohlava
February 16, 2017, 8:06 AM

:+1: one more thing, should be generated files destroyed after stopping Spark app?

Mateusz Dymczyk
February 16, 2017, 2:04 AM

this was already fixed when I added the external cluster security https://github.com/h2oai/sparkling-water/pull/177/files

Generating a file in a temp folder sounds like a good idea, though - will add that.

Michal Malohlava
February 15, 2017, 10:29 PM

Security is using addPath(sslPair.jks.path), but i expect `sslPair.jks.getLocation` should be used.
Furthermore, `getLocation` returns relative path which can be dangerous. Can we generate `jks` files in some temporary folder which will get destroyed after.

Duplicate

Assignee

Mateusz Dymczyk

Reporter

Michal Malohlava

Labels

None

CustomerVisible

No

testcase 1

None

testcase 2

None

testcase 3

None

h2ostream link

None

Affected Spark version

None

AffectedContact

None

AffectedCustomers

None

AffectedPilots

None

AffectedOpenSource

None

Support Assessment

None

Customer Request Type

None

Support ticket URL

None

End date

None

Baseline start date

None

Baseline end date

None

Task progress

None

Task mode

None

ReleaseNotesHidden

None

Fix versions

Priority

Blocker