oca-installation-helper : DLL load failed while importing _ssl (libcrypto-3.dll, _ctypes.pyd)

Antworten
ikarisan
Beiträge: 11
Registriert: 02 Aug 2021, 20:18

oca-installation-helper : DLL load failed while importing _ssl (libcrypto-3.dll, _ctypes.pyd)

Beitrag von ikarisan »

Hi!

Ich versuche gerade auf einem frisch installierten Windows11 Professional 25H2 den opsi-client-agent-installer.exe bzw. primär das Tool oca-installation-helper.exe zu starten. Wenn ich z. B. letzteres starte (oca-installation-helper.exe --help) bekomme ich eine Exception.

- Was soll passieren?
Die Hilfe der Tools soll angezeigt werden.

- Was ist passiert
Ich bekomme folgende Exception:

Code: Alles auswählen

Traceback (most recent call last):
  File "__main__.py", line 28, in <module>
  File "pyimod02_importers.py", line 457, in exec_module
  File "ocainstallationhelper\backend.py", line 16, in <module>
  File "pyimod02_importers.py", line 457, in exec_module
  File "opsicommon\client\opsiservice.py", line 20, in <module>
  File "pyimod02_importers.py", line 457, in exec_module
  File "ssl.py", line 100, in <module>
ImportError: DLL load failed while importing _ssl: Eine Anwendungssteuerungsrichtlinie hat diese Datei blockiert.
Zusätzlich meldet Windows, dass "Smart App Control einen Teil dieser App blockiert hat", hier die _ctypes.pyd und die libcrypto-3.dll.

- Betroffene Versionen:
oca-installation-helper.exe : 4.3.7.0
Python 3.14.7 mit OpenSSL 3.5.7 9 Jun 2026 ( python -c "import ssl; print(ssl.OPENSSL_VERSION)")
Windows11 Professional 25H2 (26200.9457)

Meine Vermutung ist, dass intern eine alte libcrypto-3.dll verwendet wird, die mittlerweile von Microsoft auf die Blackliste gesetzt wurde. Smart App Control auszuschalten ist keine Option.

Viele Grüße
Thorsten
Antworten