mirror of
https://github.com/serrebidev/BlindRSS.git
synced 2026-08-13 11:59:26 -07:00
Handle SSL certificate errors to enable channel loading #43
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
serrebi/BlindRSS#43
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It is required to address the failure to load RSS channels when the server presents an invalid or untrusted SSL certificate. Currently, BlindRSS blocks such channels, resulting in the following error being displayed in the error view:
Given that RSS feeds are typically used to distribute public information without transmitting sensitive data or requiring authentication, ensuring feed availability is considered more critical than enforcing strict SSL validation. Therefore, it is proposed to adjust the behavior so that BlindRSS can proceed with loading the channel despite SSL certificate issues.
Proposed Solution
It is proposed to modify the HTTP request handling to tolerate certain SSL certificate problems while maintaining a reasonable security stance. Specifically:
CURLOPT_SSL_VERIFYPEERset to0or equivalent in the used language binding).This approach balances usability and security: it ensures that public feeds remain accessible even with imperfect certificates, while still providing visibility into potential issues for debugging or auditing.
Expected Behavior
After implementation, the following behavior is expected:
Channel Loading
Error Handling and Visibility
Configuration Flexibility
Additional Notes
Fixed in v1.77.4.
The implementation is slightly more conservative than disabling verification outright, but gives you the behavior you asked for:
curl: (60)case you hit) now logs a warning and immediately retries without certificate verification, so the channel loads normally with no user-facing error or dialog."ignore_feed_ssl_errors": falseinconfig.json.Thanks for the report!