jsha / minica

minica is a small, simple CA intended for use in situations where the CA operator also operates each host where a certificate will be used.
MIT License
3.02k stars 246 forks source link

Capability to generate PKCS8 key. #38

Open sebukoleth opened 4 years ago

sebukoleth commented 4 years ago

While using this to generate certs for Java code ran into problem that Java cannot process PKCS1 keys. Did not want to use Bouncycastle just for that. So added a command switch 'key-algo', defaulting to 'PKCS1' that will accept 'PKCS8' to create PKCS8 keys.