]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
Add required extended key usage atttributes to roadwarrior certificates. ikev2
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 26 Jul 2011 09:44:07 +0000 (11:44 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 26 Jul 2011 09:44:07 +0000 (11:44 +0200)
html/cgi-bin/vpnmain.cgi

index 177cdf4c27a798754f0f04326796c2723fcf09ea..84e4bf17daa336c73fd359ae859c8c529d196a24 100644 (file)
@@ -1702,6 +1702,7 @@ END
            nsComment="OpenSSL Generated Certificate"
            subjectKeyIdentifier=hash
            authorityKeyIdentifier=keyid,issuer:always
+           extendedKeyUsage=serverAuth,1.3.6.1.5.5.8.2.2
 END
 ;
            print $fh "subjectAltName=$cgiparams{'SUBJECTALTNAME'}" if ($cgiparams{'SUBJECTALTNAME'});