i2p-tools icon indicating copy to clipboard operation
i2p-tools copied to clipboard

Error when reseeding

Open createS0ftware opened this issue 5 years ago • 1 comments

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

createS0ftware avatar Apr 03 '19 09:04 createS0ftware

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

mogria avatar Apr 09 '21 11:04 mogria