stoken-dev / stoken

RSA SecurID-compatible software token for Linux/UNIX systems
http://stoken.sf.net
GNU Lesser General Public License v2.1
405 stars 78 forks source link

How can I create a new batch certificate ? #58

Open jorgeventura opened 4 years ago

jorgeventura commented 4 years ago

Hi, The current certificate will expire in 2022. Is there a way to create a new one self signed? I tried to do that using openssl but doesn't work.

There is a comment in the source code about RSA modules from the private key not be the same from the certificate.

Ventura

jorgeventura commented 4 years ago

Hi, I created another certificate using the same private key and signature algorithm and it's working. Curiosity: There is one extra 0x0a byte at the end of private key that openssl doesn't like. I removed and openssl says that the private key is OK but doesn't work if the byte is not there.