I omitted the ssl-admin signing command line:

openssl ca -config /path/to/openssl.cnf -extension server -day <days> -out 
foo.crt -in foo.csr -batch
-----
Eric F Crist



On Aug 20, 2014, at 10:23:02, Eric Crist <[email protected]> wrote:

> In ssl-admin, we have 
> 
> nsCertType = server
> extendedKeyUsage = serverAuth
> 
> And I run the following OpenSSL command:
> 
> openssl req -extensions server -new -keyout foo.key -out foo.csr -config 
> /path/to/openssl.cnf -batch
> 
> If you don't want an encrypted cert, add -nodes to the command line.
> 
> 
> In easy-rsa, we have
> 
> nsCertType = server
> 
> -----
> Eric F Crist
> 
> 
> 
> On Aug 20, 2014, at 10:07:22, Derek Cole <[email protected]> wrote:
> 
>> Hello,
>> 
>> I have been trying to figure out how to add the nsCertType=server extension 
>> for certificates I am giving to my openvpn servers. 
>> 
>> I have a [ req ] section of my openssl.cnf file, which I have some options 
>> set in, and I also have a 
>> [ server ] sections which has only one line: nsCertType = server
>> 
>> When I create the cert request, I do it with a command like this:
>> 
>> openssl req -new -subj /CN=Name/OU=Unit/O=Org -key server.key -out 
>> server.csr -config C:\cert\openssl.conf -extensions server
>> 
>> However, this does not seem to be working, as I still get the VERIFY 
>> nsCertType error.
>> 
>> What am I doing wrong here? Also, should I be able to skip the commandline 
>> -extensions option if I just make the [ req ] section have the option 
>> x509_extensions = server ?
>> 
>> Thanks in advance
>> ------------------------------------------------------------------------------
>> Slashdot TV.  
>> Video for Nerds.  Stuff that matters.
>> http://tv.slashdot.org/_______________________________________________
>> Openvpn-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/openvpn-users
> 
> ------------------------------------------------------------------------------
> Slashdot TV.  
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/_______________________________________________
> Openvpn-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openvpn-users

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to