IDA installation error

Has anyone encountered this error? How do you fix it?

Thanks!

Another attempt in installing MOSIP sandbox V2 release 1.2.0, on-prem, no public ip, self signed certificate

TASK [Upload ida cred service certificate to keymanager] ***************************************************************************
fatal: [console.sb]: FAILED! => {“changed”: true, “cmd”: “./ida_zk.py --server https://10.0.0.51 --disable_ssl_verify”, “delta”: “0:00:00.141163”, “end”: “2022-03-25 06:00:26.814393”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2022-03-25 06:00:26.673230”, “stderr”: “/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py:1050: InsecureRequestWarning: Unverified HTTPS request is being made to host ‘10.0.0.51’. Adding certificate verification is strongly advised. See: Advanced Usage - urllib3 1.26.9 documentation InsecureRequestWarning,\n\n[2022-03-25 06:00:26,802]\n(‘Traceback (most recent call last):\n’\n ’ File “./ida_zk.py”, line 50, in main\n’\n " r = fetch_and_upload_cert(‘IDA’, ‘CRED_SERVICE’, ‘IDA’, ‘PUBLIC_KEY’)\n”\n ’ File “./ida_zk.py”, line 12, in fetch_and_upload_cert\n’\n ’ session = MosipSession(conf.server, conf.client_id, conf.client_pwd, ‘\n ‘ssl_verify=conf.ssl_verify)\n’\n ’ File ‘\n ‘"/home/mosipuser/mosip-infra/deployment/sandbox-v2/utils/onboard/ida_zk/api.py", ‘\n ‘line 13, in init\n’\n ’ self.token = self.auth_get_token(appid, self.user, self.pwd)\n’\n ’ File ‘\n ‘"/home/mosipuser/mosip-infra/deployment/sandbox-v2/utils/onboard/ida_zk/api.py", ‘\n ‘line 31, in auth_get_token\n’\n ’ token = read_token(r)\n’\n ’ File “…/utils.py”, line 13, in read_token\n’\n " cookies = response.headers[‘Set-Cookie’].split(’;’)\n"\n ’ File “/usr/local/lib/python3.6/site-packages/requests/structures.py”, line ‘\n ‘54, in getitem\n’\n ’ return self._store[key.lower()][1]\n’\n “KeyError: ‘set-cookie’\n”)", “stderr_lines”: ["/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py:1050: InsecureRequestWarning: Unverified HTTPS request is being made to host ‘10.0.0.51’. Adding certificate verification is strongly advised. See: Advanced Usage - urllib3 1.26.9 documentation", " InsecureRequestWarning,", “”, “[2022-03-25 06:00:26,802]”, “(‘Traceback (most recent call last):\n’”, " ’ File “./ida_zk.py”, line 50, in main\n’", " " r = fetch_and_upload_cert(‘IDA’, ‘CRED_SERVICE’, ‘IDA’, ‘PUBLIC_KEY’)\n"", " ’ File “./ida_zk.py”, line 12, in fetch_and_upload_cert\n’", " ’ session = MosipSession(conf.server, conf.client_id, conf.client_pwd, '", " ‘ssl_verify=conf.ssl_verify)\n’", " ’ File '", " ‘"/home/mosipuser/mosip-infra/deployment/sandbox-v2/utils/onboard/ida_zk/api.py", ‘", " ‘line 13, in init\n’", " ’ self.token = self.auth_get_token(appid, self.user, self.pwd)\n’", " ’ File ‘", " ‘"/home/mosipuser/mosip-infra/deployment/sandbox-v2/utils/onboard/ida_zk/api.py", ‘", " ‘line 31, in auth_get_token\n’", " ’ token = read_token(r)\n’", " ’ File “…/utils.py”, line 13, in read_token\n’", " " cookies = response.headers[‘Set-Cookie’].split(’;’)\n"", " ’ File “/usr/local/lib/python3.6/site-packages/requests/structures.py”, line ‘", " ‘54, in getitem\n’", " ’ return self._store[key.lower()][1]\n’", " “KeyError: ‘set-cookie’\n”)"], “stdout”: “”, “stdout_lines”: []}

hi Ramon

So basically in this step we are exchanging the certificates. Ida is already installed.
Can you rerun this and share the output here:

update the config file to use the internal ip with ssl_verification as false
mosip-infra/config.py at release-1.2.0 · mosip/mosip-infra · GitHub.