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

Crawler requires valid SSL #2504

Closed
Metis77 opened this issue Nov 19, 2020 · 1 comment
Closed

Crawler requires valid SSL #2504

Metis77 opened this issue Nov 19, 2020 · 1 comment

Comments

@Metis77
Copy link

Metis77 commented Nov 19, 2020

Affected version(s)
Contao 4.9

Description
The Crawler (building search index) requires a valid SSL, that we usually do not have in local developement.

Exception of type "Symfony\Component\HttpClient\Exception\TransportException" occurred: SSL peer certificate or SSH remote key was not OK for "https://eltern-zeitung.local/eltern-zeitung".

I think it would be best, if also invalid SSL is allowed.

@Toflar
Copy link
Member

Toflar commented Nov 19, 2020

You can disable that for yourself if you want to. It's certainly not a good default to ignore TLS validation...

contao:
    crawl:
        default_http_client_options:
            verify_peer: false

@Metis77 Metis77 closed this as completed Nov 19, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants