Permalink
Browse files

Fixed default var values in 'self signed cert'.

  • Loading branch information...
benhoskings committed Feb 21, 2010
1 parent df5e59b commit 674334b218f92b78face03b86e0405789a744c2f
Showing with 3 additions and 3 deletions.
  1. +3 −3 nginx.rb
View
@@ -57,11 +57,11 @@
log_shell("generating private key", "openssl genrsa -out #{var :domain}.key 1024", :sudo => true) and
log_shell("generating certificate", "openssl req -new -key #{var :domain}.key -out #{var :domain}.csr",
:sudo => true, :input => [
- var(:country, 'AU'),
+ var(:country, :default => 'AU'),
var(:state),
- var(:city, ''),
+ var(:city, :default => ''),
var(:organisation),
- var(:organisational_unit, ''),
+ var(:organisational_unit, :default => ''),
var(:domain),
var(:email),
'', # password

0 comments on commit 674334b

Please sign in to comment.