AMDESE / AMDSEV

AMD Secure Encrypted Virtualization
294 stars 85 forks source link

Build error with ./build.sh kernel host #210

Open deodat-pere opened 6 months ago

deodat-pere commented 6 months ago

Hello, when I try to execute the command ./build.sh kernel host on the snp-latest branch, I get the following errror:

At main.c:164:
- SSL error:0909006C:PEM routines:get_name:no start line: ../crypto/pem/pem_lib.c:745
extract-cert: certs/signing_key.pem: Success
make[3]: *** [certs/Makefile:74: certs/signing_key.x509] Error 1
make[3]: *** Deleting file 'certs/signing_key.x509'

The error SSL error:0909006C:PEM routines:get_name:no seems to indicate that a certificate file is missing something in its structure, however I am not sure in which file the problem would be.

tlendacky commented 6 months ago

You can modifying the build script with the following and see if that gets you past your issue: run_cmd ./scripts/config --disable SYSTEM_TRUSTED_KEYS run_cmd ./scripts/config --disable SYSTEM_REVOCATION_KEYS run_cmd ./scripts/config --set-str CONFIG_SYSTEM_TRUSTED_KEYS "" run_cmd ./scripts/config --set-str CONFIG_SYSTEM_REVOCATION_KEYS ""

Although, I believe the first two are already present in the script.

deodat-pere commented 6 months ago

Hi, thank you for your response. It didn't change the output