[gelöst] OCA lässt sich nicht per https-Adresse installieren

Antworten
AlexB
Beiträge: 88
Registriert: 07 Mär 2017, 17:41

[gelöst] OCA lässt sich nicht per https-Adresse installieren

Beitrag von AlexB »

Hallo zusammen,

wir haben hier aktuell ein kurioses Problem. Das hat (wahrscheinlich) letzten Monat angefangen. Wenn man die OCA Installation manuell startet und als Service URL "https://{opsi-server fqdn}:4447" eingibt kann sich die gestartete Installation (also das anschließend gestartete OPSI-Script) nicht mit dem Server verbinden und bricht ab. Ein Objekt wird aber auf dem Server erstellt und ist im configed sichtbar.
Wenn das https weggelassen wird, funktioniert alles wie normal. Das Setup ändert die Adresse intern auch automatisch in https und das OPSI-Script zeigt auch kein Problem. OPSI Server hat das Standard OPSI 90 Tage Cert.

Hat das schon mal jemand beobachtet?

OCA Version: opsi-client-agent (Version 4.3.17.10-1)
[1] [2026-04-15 14:25:29.783] [] opsi-script 4.12.20.1 started at >> 4/15/2026 14:25:29
[1] [2026-04-15 14:25:29.783] [] opsi-script log file with encoding utf8
[1] [2026-04-15 14:25:29.783] [] ssl library path: C:\Users\SUPERV~1\AppData\Local\Temp\oca-installation-helper-tmp\opsi-script\windows\x86\libssl-3.dll
[1] [2026-04-15 14:25:29.783] [] ssl library path: C:\Users\SUPERV~1\AppData\Local\Temp\oca-installation-helper-tmp\opsi-script\windows\x86\libcrypto-3.dll
[1] [2026-04-15 14:25:29.783] [] Load library: C:\Users\SUPERV~1\AppData\Local\Temp\oca-installation-helper-tmp\opsi-script\windows\x86\libcrypto-3.dll
[1] [2026-04-15 14:25:29.783] [] Load library: C:\Users\SUPERV~1\AppData\Local\Temp\oca-installation-helper-tmp\opsi-script\windows\x86\libssl-3.dll
[1] [2026-04-15 14:25:29.783] [] OpenSSL version: OpenSSL 3.0.19 27 Jan 2026
[1] [2026-04-15 14:25:29.783] [] startmessage opsi-script created at CentralForm.FormCreate: 4/15/2026 14:25:29
[1] [2026-04-15 14:25:29.783] [] Detected Language is:
[1] [2026-04-15 14:25:29.783] [] Loading skin from: C:\Users\SUPERV~1\AppData\Local\Temp\oca-installation-helper-tmp\opsi-script\windows\x86\skin
[1] [2026-04-15 14:25:29.783] [] Called with parameter: C:\Users\SUPERV~1\AppData\Local\Temp\oca-installation-helper-tmp\opsi-client-agent\setup.opsiscript\r\nc:\opsi.org\log\opsi-client-agent.log\r\n/servicebatch\r\n/productid\r\nopsi-client-agent\r\n/opsiservice\r\nhttps://opsi.xxx.local:4447/\r\n/clientid\r\ncomputer.xxx.local\r\n/username\r\ncomputer.xxx.local\r\n/password\r\n***(confidential)***\r\n/parameter\r\nnoreboot
[1] [2026-04-15 14:25:29.783] [] Error: readconfig failed: Working with defaults 4/15/2026 14:25:29
[1] [2026-04-15 14:25:29.783] [] Depot path from readconfig: p:\ 4/15/2026 14:25:29
[1] [2026-04-15 14:25:29.783] [] startmessage StartProgramModes and create log: 4/15/2026 14:25:29
[1] [2026-04-15 14:25:29.783] [] Compiled with FPC 3.2.2 for Win32-i386 at 16:31:47 on 2026/03/17
[1] [2026-04-15 14:25:29.783] [] program mode: pmBatch
[1] [2026-04-15 14:25:29.783] [] Cleanup old part files at 4/15/2026 14:25:29
[1] [2026-04-15 14:25:29.784] [] Prog: force_min_loglevel: 4
[1] [2026-04-15 14:25:29.784] [] Prog: default_loglevel: 7
[1] [2026-04-15 14:25:29.784] [] Prog: debug_prog: false
[1] [2026-04-15 14:25:29.784] [] Prog: debug_lib: true
[1] [2026-04-15 14:25:29.784] [opsi-client-agent] Prog: AktProduktId: opsi-client-agent = true
[6] [2026-04-15 14:25:29.784] [opsi-client-agent] Param: /productid: Got service credentials from parameters
[6] [2026-04-15 14:25:29.790] [opsi-client-agent] SSL lib (path) should be: C:\Users\SUPERV~1\AppData\Local\Temp\oca-installation-helper-tmp\opsi-script\windows\x86\libssl-3.dll
[7] [2026-04-15 14:25:29.795] [opsi-client-agent] SSL lib loaded: OpenSSL 3.0.19 27 Jan 2026
[7] [2026-04-15 14:25:29.795] [opsi-client-agent] Used Protocol: TLSv1.3
[6] [2026-04-15 14:25:29.878] [opsi-client-agent] HTTPSender Post succeeded
[6] [2026-04-15 14:25:29.878] [opsi-client-agent] Server-FQDN: opsi.xxx.local Server-IP: x.x.x.x
[3] [2026-04-15 14:25:29.878] [opsi-client-agent] Could not get backend_getInterface from service. No json object or result retrieved
[6] [2026-04-15 14:25:29.878] [opsi-client-agent] No method backend_getLicensingInfo at service - perhaps old server or opsiclientd, we fallback to backend_info
[6] [2026-04-15 14:25:29.903] [opsi-client-agent] HTTPSender Post succeeded
[6] [2026-04-15 14:25:29.903] [opsi-client-agent] Server-FQDN: opsi.xxx.local Server-IP: x.x.x.x
[6] [2026-04-15 14:25:29.903] [opsi-client-agent] No modules data in backend_info
[6] [2026-04-15 14:25:29.927] [opsi-client-agent] HTTPSender Post succeeded
[6] [2026-04-15 14:25:29.927] [opsi-client-agent] Server-FQDN: opsi.xxx.local Server-IP: x.x.x.x
[3] [2026-04-15 14:25:29.927] [opsi-client-agent] Problem getting backend_info from service
[3] [2026-04-15 14:25:29.927] [opsi-client-agent] Could not connect to Service :https://opsi.xxx.local:4447/ - retry with localhost
[6] [2026-04-15 14:25:29.929] [opsi-client-agent] SSL lib (path) should be: C:\Users\SUPERV~1\AppData\Local\Temp\oca-installation-helper-tmp\opsi-script\windows\x86\libssl-3.dll
[7] [2026-04-15 14:25:29.930] [opsi-client-agent] SSL lib loaded: OpenSSL 3.0.19 27 Jan 2026
[7] [2026-04-15 14:25:29.930] [opsi-client-agent] Used Protocol: TLSv1.3
[3] [2026-04-15 14:25:31.978] [opsi-client-agent] Prog: Request failed (Method Post). No connection to server could be established. Line: 1566
[6] [2026-04-15 14:25:31.979] [opsi-client-agent] Resolve (localhost) to following IPs:
[6] [2026-04-15 14:25:31.979] [opsi-client-agent] 1. IP: ::1
[6] [2026-04-15 14:25:31.979] [opsi-client-agent] 2. IP: 127.0.0.1
AlexB
Beiträge: 88
Registriert: 07 Mär 2017, 17:41

Re: [gelöst] OCA lässt sich nicht per https-Adresse installieren

Beitrag von AlexB »

Problem hat sich gelöst... als ich mir das log nochmal genauer angeschaut hat, hat sich dort noch ein Forwardslash durch mein Skript hinten drangemogelt und das mag der OCA Installer anscheinend überhaupt nicht.
"https://opsi.fqdn.local:4447" funktioniert, nur "https://opsi.fqdn.local:4447/" halt nicht :)
Antworten