Getting error When installing EdgeGallery 1.5.1


Kumar Prasad, Vikash
 

Dear Team,

Could you please suggest a solution for below error?

 

 

TASK [eg_prepare : All Input of Signature Certs are undefined] *********************************************************ok: [10.10.2.203] => {

    "msg": "SIGNATURE_CERT_P12, SIGNATURE_CERT_CER and SIGNATURE_PWD are all not set, will be set and create automatically."

}

 

TASK [eg_prepare : Set Signature Certs Params] *************************************************************************ok: [10.10.2.203]

 

TASK [eg_prepare : Create Signature Cert Path] *************************************************************************changed: [10.10.2.203]

TASK [eg_prepare : Generate Signature RSA Crt and Key Files] ***********************************************************

fatal: [10.10.2.203]: FAILED! => {"changed": true, "cmd": "openssl req -x509 -sha256 -nodes -days 730 -newkey rsa:1024 -passout pass:Linux@123 -keyout privatekey.pem -out cert.pem  -subj /C=CN/ST=Beijing/L=Biejing/O=edgegallery/CN=edgegallery.org -addext \"keyUsage = critical,digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment, keyAgreement, keyCertSign, cRLSign, encipherOnly, decipherOnly\" -addext \"extendedKeyUsage = critical,1.3.6.1.5.5.7.3.1, 1.3.6.1.5.5.7.3.2, 1.3.6.1.5.5.7.3.3, 1.3.6.1.5.5.7.3.4, 1.3.6.1.5.5.7.3.8, 1.3.6.1.4.1.311.2.1.21, 1.3.6.1.4.1.311.2.1.22, 1.3.6.1.4.1.311.10.3.1, 1.3.6.1.4.1.311.10.3.3, 1.3.6.1.4.1.311.10.3.4, 2.16.840.1.113730.4.1, 1.3.6.1.4.1.311.10.3.4.1, 1.3.6.1.5.5.7.3.5, 1.3.6.1.5.5.7.3.6, 1.3.6.1.5.5.7.3.7, 1.3.6.1.5.5.8.2.2, 1.3.6.1.4.1.311.20.2.2\"\n", "delta": "0:00:00.166996", "end": "2022-06-28 02:53:16.718924", "msg": "non-zero return code", "rc": 1, "start": "2022-06-28 02:53:16.551928", "stderr": "req: Unknown digest addext\nreq: Use -help for summary.", "stderr_lines": ["req: Unknown digest addext", "req: Use -help for summary."], "stdout": "", "stdout_lines": []}

 

PLAY RECAP *************************************************************************************************************

10.10.2.203                : ok=90   changed=66   unreachable=0    failed=1    skipped=98   rescued=0    ignored=4

 

 

Thanks

Vikash kumar prasad


xudan
 

Hi Vikash,

 

Could you please check the version of openssl on your node 10.10.2.203? According to [1], it needs to update openssl to be at least v1.1.1.

 

[1] https://docs.joshuatz.com/cheatsheets/security/self-signed-ssl-certs/#openssl---self-signed-cert-without-prompt---using-arguments

 

Please feel free to contact me if you have any further questions.

 

BR,

Dan Xu

 

From: main@edgegallery.groups.io [mailto:main@edgegallery.groups.io] On Behalf Of Kumar Prasad, Vikash
Sent: Tuesday, June 28, 2022 5:57 PM
To: main@edgegallery.groups.io
Subject: [EdgeGallery] Getting error When installing EdgeGallery 1.5.1

 

Dear Team,

Could you please suggest a solution for below error?

 

 

TASK [eg_prepare : All Input of Signature Certs are undefined] *********************************************************ok: [10.10.2.203] => {

    "msg": "SIGNATURE_CERT_P12, SIGNATURE_CERT_CER and SIGNATURE_PWD are all not set, will be set and create automatically."

}

 

TASK [eg_prepare : Set Signature Certs Params] *************************************************************************ok: [10.10.2.203]

 

TASK [eg_prepare : Create Signature Cert Path] *************************************************************************changed: [10.10.2.203]

TASK [eg_prepare : Generate Signature RSA Crt and Key Files] ***********************************************************

fatal: [10.10.2.203]: FAILED! => {"changed": true, "cmd": "openssl req -x509 -sha256 -nodes -days 730 -newkey rsa:1024 -passout pass:Linux@123 -keyout privatekey.pem -out cert.pem  -subj /C=CN/ST=Beijing/L=Biejing/O=edgegallery/CN=edgegallery.org -addext \"keyUsage = critical,digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment, keyAgreement, keyCertSign, cRLSign, encipherOnly, decipherOnly\" -addext \"extendedKeyUsage = critical,1.3.6.1.5.5.7.3.1, 1.3.6.1.5.5.7.3.2, 1.3.6.1.5.5.7.3.3, 1.3.6.1.5.5.7.3.4, 1.3.6.1.5.5.7.3.8, 1.3.6.1.4.1.311.2.1.21, 1.3.6.1.4.1.311.2.1.22, 1.3.6.1.4.1.311.10.3.1, 1.3.6.1.4.1.311.10.3.3, 1.3.6.1.4.1.311.10.3.4, 2.16.840.1.113730.4.1, 1.3.6.1.4.1.311.10.3.4.1, 1.3.6.1.5.5.7.3.5, 1.3.6.1.5.5.7.3.6, 1.3.6.1.5.5.7.3.7, 1.3.6.1.5.5.8.2.2, 1.3.6.1.4.1.311.20.2.2\"\n", "delta": "0:00:00.166996", "end": "2022-06-28 02:53:16.718924", "msg": "non-zero return code", "rc": 1, "start": "2022-06-28 02:53:16.551928", "stderr": "req: Unknown digest addext\nreq: Use -help for summary.", "stderr_lines": ["req: Unknown digest addext", "req: Use -help for summary."], "stdout": "", "stdout_lines": []}

 

PLAY RECAP *************************************************************************************************************

10.10.2.203                : ok=90   changed=66   unreachable=0    failed=1    skipped=98   rescued=0    ignored=4

 

 

Thanks

Vikash kumar prasad