-
Notifications
You must be signed in to change notification settings - Fork 7
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
SSL Certificate Verification Issue #86
Comments
@furkansimsekli This looks different, the TLS verification complains about the hostname mismatch (no idea how they managed to break that unless a self-signed cert leaked). That should also break the site on browsers, so should be fixed relatively "quickly". The previous problem was that servers were not serving intermediate certificates in chain leading to the scraper not being able to verify the chain. I researched it a bit, apparently browsers use a method called AIA Fetching/Chasing to work around the issue. If the issue presents itself again, it might be worthwhile to look for a Python package which implements that. |
@div72
If I run the bot in my own computer, I still get these errors for the same departments. I'm going to inform Hacettepe IT about this. Firefox can open these websites without any warning about SSL certificates. |
@furkansimsekli See the logs, the latest error is |
Problem seems to be resolved for every department except https://ee.hacettepe.edu.tr We already talked about this, but let me write here as well. The solution you mentioned might require the use of packages outside the Python, I honestly don't feel very good about this, especially if it affects the development/test. |
There are two packages, one of which requires OpenSSL. Is that what you meant by "packages outside of Python"? Nevertheless, neither of the packages are packaged in NixOS which (while is not a deal breaker) requires some work that I'd rather avoid. |
All problems have been fixed a few weeks ago thanks to our own attempts, but I want to implement a new feature to disable ssl verification temporarily, therefore I will make this an enhancement issue rather than bug. |
We had this issue last year, and that time it wasn't due to our infrastructure but due to IT people of Hacettepe. Disabling ssl verification could be a solution. I thought it would get fixed but still is an issue after 2 weeks.
The text was updated successfully, but these errors were encountered: