Now working with SSL. Remains to have keystore read from resource instead of file.