mirror of
https://github.com/nextcloud/twofactor_gateway.git
synced 2026-04-25 09:05:55 +03:00
[GH-ISSUE #186] The certificate chain for the Telgegram gateway need to be checked #47
Labels
No labels
0. to triage
1. to develop
3. to review
blocked
bug
discussion
duplicate
enhancement
enhancement
gateway:signal
gateway:signal
gateway:signal
gateway:sms
gateway:telegram
hacktoberfest
help wanted
invalid
needs info
php
pull-request
question
technical debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/twofactor_gateway-nextcloud#47
Loading…
Add table
Add a link
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?
Originally created by @j-ed on GitHub (Jan 9, 2019).
Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/186
Expected behavior
If you configure the Telegram gateway, a potential SSL certificate problem should be checked and displayed so that the root cause of the problem can be solved easily by the administrator.
Current behavior
If you configure the Telegram gateway, the SSL certificate is not checked during the administrator nor the user configuration. This results in a token verification error if a user tries to activate his account for 2FA. In the log file a more or less correct cURL error 60 is displayed:
I was able to resolve the problem by downloading all relevant, certificates (intermediate, root) and by updating the local CRL for it.
Steps to reproduce
Message gateway second-factor authconfiguration.-> A verification failure is displayed without any hint pointing to the underlying certificate problem.
Environment
Server Configuration
OS: Linux 3.16.50
Web server: Apache2 2.4.37
Database: MariaDB 10.2.19
PHP version: 7.2.13
Nextcloud version: 15.0.0
Twofactor_gateway app version: 0.11.0
Client Configuration
Browser: Mozilla Firefox 64.0
Operating system: Windows 10