Laatst bijgewerkt op
13 feb. 2023
Configuring LinkCheckerTask proxy settings always tries to use NTLM Authentication instead of Basic Authentication
Solution
Each time after changing the LinkCheckerTask configuration with proxy settings
- Stop CQ5.
- Edit crx-quickstart/launchpad/config/com/day/cq/rewriter/linkchecker/impl/LinkCheckerTask.config:
- Remove the line setting containing connection.timeout (see also related document about it).
- Remove the line setting containing proxy.ntlm.domain.
- Remove the line setting containing proxy.ntlm.host.
- Restart the CQ5 instance.
- Verify that the LinkCheckerTask component is active.
Additional information
Once the user/password are set for the proxy, it always uses NTLM authentication scheme as the sling config contains empty values for ntlm domain and ntlm host.
Linkchecker is using Apache HttpClient libraries, and thus doesn't support NTLM v2.
Applies to: CQ 5.2 and 5.2.1.