Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed default var values in 'self signed cert'.

  • Loading branch information...
commit 674334b218f92b78face03b86e0405789a744c2f 1 parent df5e59b
@benhoskings authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 nginx.rb
View
6 nginx.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.