Lh1749 fix ssl custom keystores

Fixes LH1749 : Allow custom SSL keystores. Enables the use of a SSL client certificate.