From: Remy C. C. <dev...@sm...> - 2004-03-10 07:21:10
|
On Tuesday 09 March 2004 19:56, Remy C. Cool wrote: > Hello, > > Two short questions: > > According to the doc string in createCertRequest (certgen.py) it > must be possible to enter SP and email arguments, but both fail in > my test code. I used mk_simple_certs.py as a base changing the > line: > > careq = createCertRequest(cakey, CN='Certificate Authority') > into > careq = createCertRequest(cakey, CN='Certificate Authority', > SP='State', email='me...@he...') > > Any solutions? Found'em When you use 'ST' instead of 'SP' and 'emailAddress' instead of 'email' the certificates are generated without any problems. Is this a bug in the doc-string or something system dependent? So, if anyone knows the answer to the second question ... please let me know. > And I would like to know if it's possible to create a (CA) > certificate with a passphrase/password using pyOpenSSL? |