aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-30 19:21:45 +0000
committerMichael Scherer <misc@mageia.org>2010-11-30 19:21:45 +0000
commit560f5a960f20948148e75137a8292e3ed30b3b72 (patch)
treed695a39bab57e7e47e29ca97e2fe8079466e1f89
parent8513ca9a96f33bee9b4382618263fdfde5b671a0 (diff)
downloadpuppet-560f5a960f20948148e75137a8292e3ed30b3b72.tar
puppet-560f5a960f20948148e75137a8292e3ed30b3b72.tar.gz
puppet-560f5a960f20948148e75137a8292e3ed30b3b72.tar.bz2
puppet-560f5a960f20948148e75137a8292e3ed30b3b72.tar.xz
puppet-560f5a960f20948148e75137a8292e3ed30b3b72.zip
- do not automatically add the domain name when creating a certificate
-rw-r--r--modules/openssl/manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openssl/manifests/init.pp b/modules/openssl/manifests/init.pp
index b358f530..5399e969 100644
--- a/modules/openssl/manifests/init.pp
+++ b/modules/openssl/manifests/init.pp
@@ -9,7 +9,7 @@ class openssl {
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']