Skip to content

Commit

Permalink
Set CN to username, not name
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Brockman committed Nov 7, 2010
1 parent ad8b6bd commit 66eb5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vpnmaker.rb
Expand Up @@ -433,7 +433,7 @@ def tmppath(f, extn=nil); File.join(@tmpdir, extn ? "#{f}.#{extn}" : f); end
def tmpfile(*args); File.read(tmppath(*args)); end

def build_key(user, name, email, pass, delegate)
h = {:key_cn => name, :key_name => name, :key_email => email}
h = {:key_cn => user, :key_name => name, :key_email => email}
place_file('ca.crt')
place_file('ca.key')
place_file('index.txt')
Expand Down

0 comments on commit 66eb5a7

Please sign in to comment.