HTTPS configuration for LAVA Server.
by K L, Shivaschandra (DI SW CAS ES EPT OPS&QA PBU)
Hi All ,
We had lava-server running on HTTP , we needed to migrate to HTTPS for security reasons.
We have configured our lava-server for HTTPS by configuring apache2 with root and issuing SSL certificates.
Post migration from HTTP to HTTPS, lava server works fine , but we are facing issues while worker tries to connect to lava server,
Following is the error that we are getting in lava-worker.log
ERROR -> server error: code 503
2022-03-29 19:38:15,598 DEBUG --> HTTPSConnectionPool(host='*.com', port=443): Max retries exceeded with url: /scheduler/internal/v1/workers/<worker-name> /?version=2021.10 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)')))
Are there any configurations that we have to do on the worker side to enable the sever - worker communication to be up and running.
If there are any documentations that need to be followed to configure HTTPS , request to provide the documentation for the same.
Thanks and regards
Shivaschandra K L