[Mageia-sysadm] [485] - do not automatically add the domain name when creating a certificate

root at mageia.org root at mageia.org
Tue Nov 30 20:21:45 CET 2010


Revision: 485
Author:   misc
Date:     2010-11-30 20:21:45 +0100 (Tue, 30 Nov 2010)
Log Message:
-----------
- do not automatically add the domain name when creating a certificate

Modified Paths:
--------------
    puppet/modules/openssl/manifests/init.pp

Modified: puppet/modules/openssl/manifests/init.pp
===================================================================
--- puppet/modules/openssl/manifests/init.pp	2010-11-30 19:21:44 UTC (rev 484)
+++ puppet/modules/openssl/manifests/init.pp	2010-11-30 19:21:45 UTC (rev 485)
@@ -9,7 +9,7 @@
         include openssl::base
         
         $pem_file = "$name.pem"
-	    exec { "openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout $pem_file -out $pem_file -subj  '/CN=$name.$domain'":
+	    exec { "openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout $pem_file -out $pem_file -subj  '/CN=$name'":
             cwd => "$directory",
             creates => "$directory/$name.pem",
             require => Package['openssl']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101130/3d5c4b1f/attachment-0001.html>


More information about the Mageia-sysadm mailing list