taskserver icon indicating copy to clipboard operation
taskserver copied to clipboard

generating certificates causes crt_sign error

Open scmbradley opened this issue 4 years ago • 3 comments

When I try to generate a certificate using the script generate I get the following error:

Signing certificate...
crt_sign: ASN1 parser: Value is not valid.

scmbradley avatar Mar 25 '21 14:03 scmbradley

Generating the keys seems to be working fine, but the generation of the certificates doesn't work. That is, commenting out rm ca.info in generate.ca and running certtool --generate-self-signed --load-privkey ca.key.pem --template ca.info --outfile ca.cert.pem from the cli yields the same error.

scmbradley avatar Mar 25 '21 15:03 scmbradley

This seems to happen with master and 1.2.0 branches. certtool --version gives 3.6.15.

The commands seem to work fine on my local machine (certtool --version 3.6.13).

scmbradley avatar Mar 25 '21 15:03 scmbradley

A friendly anonymous Guest on the nearlyfreespeech.net member forums suggested that this behaviour is related to this bug and that the suggested workaround might help. I have not had time to test this hypothesis.

scmbradley avatar Apr 01 '21 15:04 scmbradley