Hello,

this is because the worker does not trust the self-signed certificate. You have to add the certificate to the system certificate store, not only the browser certificate store.


Rgds

Le lun. 30 oct. 2023 à 12:25, Ankit Gupta <ankit.gupta@timesys.com> a écrit :
Hi All,


I am setting an HTTPS instance of LAVA, I can access the LAVA UI and am able to log in as well. I am using a self-signed SSL certificate. 

I have added URL="https://172.16.60.178/" in the /etc/lava-dispatcher/lava-worker file and restarted the service. It's giving me the below error.

2023-10-30 07:10:47,383   ERROR -> server error: code 503
2023-10-30 07:10:47,383   DEBUG --> HTTPSConnectionPool(host='172.16.60.178', port=443): Max retries exceeded with url: /scheduler/internal/v1/workers/debian/?version=2023.10 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1123)')))


Do we need to configure some extra settings in case we are using a self-signed certificate? any help will be appreciated.



Thanks,
Ankit

_______________________________________________
lava-users mailing list -- lava-users@lists.lavasoftware.org
To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s


--
Rémi Duraffort
Principal Tech Lead
LAVA Tech Lead
Automation Software Team
Linaro