[9fans] Encoding private RSA key to PEM with p9p

2013-12-17 Thread Jean-André Santoni
ve no problem converting the public keys to PEM, using rsa2x509 | pemencode. However, no man explains how to encode a private key to PEM. I tried to do the opposite : generating keys as PEM using linux's openssl, then convert them to plan9 format using pemdecode without success. Any idea? --

Re: [9fans] Encoding private RSA key to PEM with p9p

2013-12-18 Thread Jean-André Santoni
nssl rsa -in key.pem -inform PEM -out key.der -outform DER > auth/asn12rsa -t 'proto=rsa service=tls owner=*' key.der >key > > -- > David du Colombier > > -- Jean-André Santoni

Re: [9fans] Encoding private RSA key to PEM with p9p

2013-12-23 Thread Jean-André Santoni
ted in Plan 9, > but you could try Christian Kellermann's implementation. > > http://plan9.bell-labs.com/sources/patch/maybe/tls-client-auth/ > > hget http://www.9legacy.org/9legacy/patch/tls-client-auth.diff | > ape/patch -p0 > > -- > David du Colombier > > -- Jean-André Santoni