allow specifying nsCertType in config
[stack/cam.git] / cam / templates / ext_config
index 596e406..486c087 100644 (file)
@@ -1,5 +1,5 @@
 basicConstraints        = CA:false
-nsCertType              = client, server
+nsCertType              = %(usage)s
 keyUsage                = nonRepudiation, digitalSignature, keyEncipherment
 extendedKeyUsage        = clientAuth, serverAuth
 subjectKeyIdentifier    = hash