I installed opsi server with docker compose, though I'm not able to register any clients here's the error I'm getting in the logs
Opsi service verification error: HTTPSConnectionPool(host='$hostname', port=4447): Max retries exceeded with url: /rpc (Caused by SSLError(SSLCertVerificationError(1, ""[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for '$hostname'. (_ssl.c:1006)")))
SSL certificate error
- j.schneider
- uib-Team
- Beiträge: 2050
- Registriert: 29 Mai 2008, 15:14
Re: SSL certificate error
Hello,
it seems that the generated certificate is not valid for the address you are using on the client.
You can set the environment variable OPSICONFD_SSL_SERVER_CERT_SANS in your docker-compose.yml to add alternative subject names for the opsi server certificate.
Regards
Jan Schneider
it seems that the generated certificate is not valid for the address you are using on the client.
You can set the environment variable OPSICONFD_SSL_SERVER_CERT_SANS in your docker-compose.yml to add alternative subject names for the opsi server certificate.
Code: Alles auswählen
OPSICONFD_SSL_SERVER_CERT_SANS: "[opsi.mydomain.tld,10.1.2.3]"
Jan Schneider
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de