[
https://issues.apache.org/jira/browse/JCR-4799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17562124#comment-17562124
]
Julian Reschke edited comment on JCR-4799 at 8/10/22 5:38 PM:
--------------------------------------------------------------
trunk: (2.21.12) [r1902457|http://svn.apache.org/r1902457]
[r1902436|http://svn.apache.org/r1902436]
2.20: [r1903323|http://svn.apache.org/r1903323]
was (Author: reschke):
trunk: [r1902457|http://svn.apache.org/r1902457]
[r1902436|http://svn.apache.org/r1902436]
> 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
> Labels: candidate_jcr_2_16
> Fix For: 2.22, 2.21.12, 2.20.7
>
> 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)