diff options
author | elijah <elijah@riseup.net> | 2012-11-12 23:53:51 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2012-11-12 23:53:51 -0800 |
commit | c37a35df81b2d6becc09f1820240db24c3ec632c (patch) | |
tree | 50187e4ab1face237760614ecf844b42efdd51e1 /config | |
parent | c90d30621e042cc3e52ffc87e3491ab110a57e9e (diff) |
first fully working version of leap_ca
Diffstat (limited to 'config')
-rw-r--r-- | config/config_default.yaml | 32 | ||||
-rw-r--r-- | config/couchdb.yml.example | 6 | ||||
-rw-r--r-- | config/deploy.rb.example | 23 | ||||
-rw-r--r-- | config/pool.yml | 1 |
4 files changed, 32 insertions, 30 deletions
diff --git a/config/config_default.yaml b/config/config_default.yaml new file mode 100644 index 0000000..357a1f9 --- /dev/null +++ b/config/config_default.yaml @@ -0,0 +1,32 @@ +# +# Default configuration options for LEAP Certificate Authority Daemon +# + +# +# Certificate Authority +# +ca_key_path: "./test/files/ca.key" +ca_key_password: nil +ca_cert_path: "./test/files/ca.crt" + +# +# Certificate pool +# +max_pool_size: 100 +client_cert_lifespan: 2 +client_cert_bit_size: 2024 +client_cert_hash: "SHA256" + +# +# Database +# +db_name: "client_certificates" +couch_connection: + protocol: "http" + host: "localhost" + port: 5984 + username: ~ + password: ~ + prefix: "" + suffix: "" + join: "_"
\ No newline at end of file diff --git a/config/couchdb.yml.example b/config/couchdb.yml.example deleted file mode 100644 index 64058da..0000000 --- a/config/couchdb.yml.example +++ /dev/null @@ -1,6 +0,0 @@ -development: - protocol: 'http' - host: 'localhost' - port: 5984 - prefix: leap_web_demo - suffix: '' diff --git a/config/deploy.rb.example b/config/deploy.rb.example deleted file mode 100644 index 5fb18ed..0000000 --- a/config/deploy.rb.example +++ /dev/null @@ -1,23 +0,0 @@ -require "bundler/capistrano" - -set :application, "leap_ca" - -set :scm, :git -set :repository, "git://leap.se/leap_ca" - -role :app, "YOUR SERVER GOES HERE" - -# if you want to clean up old releases on each deploy uncomment this: -# after "deploy:restart", "deploy:cleanup" - -namespace :deploy do - task :start, :roles => :app do - run "#{File.join(current_path,'bin','leap_ca')} start" - end - task :stop, :roles => :app do - run "#{File.join(current_path,'bin','leap_ca')} stop" - end - task :restart, :roles => :app, :except => { :no_release => true } do - run "#{File.join(current_path,'bin','leap_ca')} restart" - end -end diff --git a/config/pool.yml b/config/pool.yml deleted file mode 100644 index 29ccbbf..0000000 --- a/config/pool.yml +++ /dev/null @@ -1 +0,0 @@ -size: 10 |