Wie stelle ich denn den Opsi-Config auf loglevel 7 for die lokalen logs? einfach --loglevel=7 als Startoption?
------
Aber wir haben auf unseren Opsi Depotservern nun das Problem, dass es mit dem Opsiconfd health-check folgendes ausgibt:
Code: Alles auswählen
● SSL: ERROR
➔ Some SSL issues where found.
OK - The opsi CA certificate is OK and will expire in 724 days.
OK - The server certificate is OK and will expire in 89 days.
ERROR - Failed to verify server cert with opsi CA.
Server ist neu aufgesetzt und nur das Repository für den Haupt-/Configserver hinzugefügt.
Er lädt auch die Pakete, aber sobald er sie quasi installieren will kommt folgendes:
Code: Alles auswählen
[3] [2024-02-12 15:10:58.687] [ ] Opsi service verification error: HTTPSConnectionPool(host='localhost', port=4447): Max retries exceeded with url: /rpc (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)'))) (opsipackageupdater.py:454)
Traceback (most recent call last):
File "urllib3/connectionpool.py", line 467, in _make_request
File "urllib3/connectionpool.py", line 1096, in _validate_conn
File "urllib3/connection.py", line 642, in connect
File "urllib3/connection.py", line 782, in _ssl_wrap_socket_and_match_hostname
File "urllib3/util/ssl_.py", line 470, in ssl_wrap_socket
File "urllib3/util/ssl_.py", line 514, in _ssl_wrap_socket_impl
File "ssl.py", line 517, in wrap_socket
File "ssl.py", line 1108, in _create
File "ssl.py", line 1383, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "urllib3/connectionpool.py", line 790, in urlopen
File "urllib3/connectionpool.py", line 491, in _make_request
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "requests/adapters.py", line 486, in send
File "urllib3/connectionpool.py", line 844, in urlopen
File "urllib3/util/retry.py", line 515, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='localhost', port=4447): Max retries exceeded with url: /rpc (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "opsicommon/client/opsiservice.py", line 886, in _request
File "requests/sessions.py", line 589, in request
File "requests/sessions.py", line 703, in send
File "requests/adapters.py", line 517, in send
requests.exceptions.SSLError: HTTPSConnectionPool(host='localhost', port=4447): Max retries exceeded with url: /rpc (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "opsiutils/opsipackageupdater.py", line 450, in main
File "opsiutils/opsipackageupdater.py", line 420, in updater_main
File "opsiutils/update_packages/Updater.py", line 355, in processUpdates
File "opsiutils/update_packages/Updater.py", line 194, in getDepotBackend
File "opsiutils/__init__.py", line 42, in get_service_client
File "opsicommon/client/opsiservice.py", line 724, in connect
File "opsicommon/client/opsiservice.py", line 905, in _request
opsicommon.exceptions.OpsiServiceVerificationError: Opsi service verification error: HTTPSConnectionPool(host='localhost', port=4447): Max retries exceeded with url: /rpc (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))
ERROR: Opsi service verification error: HTTPSConnectionPool(host='localhost', port=4447): Max retries exceeded with url: /rpc (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))