Bug 54137 - httpi_api: ConnectionError: ("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",)
httpi_api: ConnectionError: ("bad handshake: Error([('SSL routines', 'tls_pro...
Status: RESOLVED DUPLICATE of bug 47911
Product: UCS@school
Classification: Unclassified
Component: HTTP-API (Kelvin)
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-11-24 14:21 CET by Maximilian Janßen
Modified: 2022-03-10 10:56 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2021090321000257
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Janßen univentionstaff 2021-11-24 14:21:03 CET
Version: 4.4-8 errata969 (Blumenthal) - UCS@school 4.4 v9

Remark: Guten Tag,

leider funktioniert unser automatisierter Benutzerimport  über die CSV-Datei momentan nicht.
Ist der Fehler schon bekannt?

Mit freundlichen Grüßen
****

Error: 
Interner Server-Fehler in "schoolimport/ping".
Request: schoolimport/ping

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY2.7%/univention/management/console/protocol/modserver.py", line 202, in _recv
    self.handle(msg)
  File "%PY2.7%/univention/management/console/protocol/modserver.py", line 272, in handle
    six.reraise(self.__init_etype, self.__init_exc, self.__init_etraceback)
  File "%PY2.7%/univention/management/console/protocol/modserver.py", line 313, in handle
    self.__handler.init()
  File "%PY2.7%/univention/management/console/modules/schoolimport/__init__.py", line 69, in init
    ssl_verify=ssl_verify,
  File "%PY2.7%/ucsschool/http_api/client.py", line 413, in __init__
    setattr(self, cls_name, kls(self))
  File "%PY2.7%/ucsschool/http_api/client.py", line 533, in __init__
    self.resource_url = self.client.resource_urls[self.resource_name]
  File "%PY2.7%/ucsschool/http_api/client.py", line 429, in resource_urls
    self._resource_urls = self.call_api("get", ".")
  File "%PY2.7%/ucsschool/http_api/client.py", line 498, in call_api
    raise ConnectionError(str(exc))
ConnectionError: ("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",)

Role: domaincontroller_master
Comment 1 Daniel Tröder univentionstaff 2022-03-10 10:56:43 CET
Use ucsschool/import/http_api/client/server to set the FQDN of the master to the one used in the SSL certificate.

*** This bug has been marked as a duplicate of bug 47911 ***