i2p-tools
i2p-tools copied to clipboard
Error when reseeding
I am getting this error when trying to reseed
asn1: structure error: tags don't match (16 vs {class:0 tag:23 length:58583 isCompound:true}) {optional:false explicit:false application:false private:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} pkcs1PrivateKey @4
Not clear what this means. Can you tell me ?
Thanks
I just stumbled in the same error today. The problem was I passed certificate/pem file generated for signing the su3 file to the --tlsCert
--tlsKey
options.
But another set of certificates is required for TLS.
You can generate both sets like this:
$ i2p-tools keygen --signer=$SIGNER --tlsHost=$HOSTNAME
These will be put into the current working directory. You can then start the reseed server like this, and it should pick up both sets correctly:
$ i2p-tools reseed --signer=$SIGNER --tlsHost=$HOSTNAME