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

certtools issue #5

Open
amin-prvn opened this issue Apr 26, 2023 · 1 comment
Open

certtools issue #5

amin-prvn opened this issue Apr 26, 2023 · 1 comment

Comments

@amin-prvn
Copy link

amin-prvn commented Apr 26, 2023

when I built a Docker file, got this error:

[10/15] RUN certtool --generate-self-signed --load-privkey ca-key.pem --template ca.tmpl --outfile ca-cert.pem:
#0 0.318 Trailing garbage: ` '
#0 0.318 error parsing number: 1

Do you have any idea, how I can fix that?

@atweek
Copy link

atweek commented Aug 5, 2024

In this format everything worked.

[cn]
CN = My Certificate Authority

[cert]
serial = 1
expiration_days = 3650
signing_key = yes
encryption_key = no

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