Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
deodat-pere opened this issue Mar 14, 2024 · 2 comments
Open

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

deodat-pere opened this issue Mar 14, 2024 · 2 comments

Comments

@deodat-pere
Copy link

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
Copy link
Collaborator

tlendacky commented Mar 15, 2024

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants