Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Connector: Fix SSL issues in redirections #164

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

Soggard
Copy link

@Soggard Soggard commented Feb 19, 2024

We noticed that in some case, when using the new "Force the inclusion of redirections" option in the Web Crawler Connector, we encounter SSL certificate error. This happens when whe try to get the final URL from a redirection in order to add it to the seed.

We can fix this by disabling SSL verification while getting final URL from pages with redirections. The unchecked certificates should not cause any problems, since it's only about adding the new host to the seed. All usual checks will be applied during the indexing.

Note that when fetching the final url, we do not take into account the connector's graphical option to able or disable certificate validation: certificates are always ignored. Still, once the actual crawling takes place when the final list of seed hosts is established, the option about certification validation is respected again.

@OpenPj OpenPj added this to the 2.28 milestone Jun 25, 2024
@OpenPj
Copy link
Contributor

OpenPj commented Jun 25, 2024

Thank you @Soggard for your contribution, we will consider this for ManifoldCF 2.28 because we don't want to apply any changes to the base code for 2.27 release, this due to the drastic change in the release process.

I have just created another ticket for this:
https://issues.apache.org/jira/browse/CONNECTORS-1762

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants