Thor,

Have you checked out the man pages for the req program? It seems you'd want the * -subj * flag.

http://www.openssl.org/docs/apps/req.html


Here's a sample generation

openssl req -nodes -newkey rsa:2048 -nodes -keyout myserver.key -out server.csr -subj "/C=GB/ST=Yorks/L=York/O=MyCompany Ltd./OU=IT/CN=mysubdomain.mydomain.com"

Hope this helps
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List [email protected] Automated List Manager [email protected]


Perfect!

I did indeed read that document but obviously not in enough detail - sorry.

Thanks though, exactly what i'm looking for.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to