You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/07/03 18:47:00 UTC

[jira] [Resolved] (JCR-4799) jackrabbit.client.useSystemProperties undone by SSL config: client certificates no longer work

     [ https://issues.apache.org/jira/browse/JCR-4799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus resolved JCR-4799.
----------------------------------
    Fix Version/s: 2.21.12
       Resolution: Fixed

Fixed in http://svn.apache.org/viewvc?view=revision&revision=1902436 (trunk).

> jackrabbit.client.useSystemProperties undone by SSL config: client certificates no longer work
> ----------------------------------------------------------------------------------------------
>
>                 Key: JCR-4799
>                 URL: https://issues.apache.org/jira/browse/JCR-4799
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-spi2dav
>    Affects Versions: 2.20.5
>            Reporter: Graham Leggett
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: 2.22, 2.21.12
>
>         Attachments: JCR-4799.diff, emptyPKCS12.keystore, jackrabbit-spi2dav-system.patch, jackrabbit-spi2dav-systemv2.patch, jackrabbit-spi2dav-systemv3.patch
>
>
> When jackrabbit.client.useSystemProperties is used in an effort to make java.net.ssl.* constants work, this is undone by the explicit initialisation of SSL.
> As a result, client certificates no longer work, and control over SSL parameters like protocol, etc is lost.
> The fix is to use the SSLConnectionSocketFactory.getSystemSocketFactory() constructor in the system properties case.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)