default: &default
  endpoint: 'https://acme-staging.api.letsencrypt.org/directory'  # test server
  email: 'your@email.address'
  domain: '<%= ['example.com', 'www.example.com', 'another.example.com'].join(" ") %>'
  private_key: 'key/test-keyfile.pem'                   # in Rails.root
  output_cert_dir: 'certificates'                       # in Rails.root
  private_key_in_db: true

production:
  <<: *default

development:
  <<: *default

test:
  <<: *default

default: &default
  endpoint: 'https://acme-staging.api.letsencrypt.org/directory'  # test server
  email: 'your@email.address'
  domain: "<%= ['example.com', 'www.example.com', 'another.example.com'].join(" ") %>"
  private_key: 'key/test-keyfile.pem'                   # in Rails.root
  output_cert_dir: 'certificates'                       # in Rails.root
  private_key_in_db: true

production:
  <<: *default

development:
  <<: *default

test:
  <<: *default

Update quotes of dynamic domains
Update quotes of dynamic domains

Lots of people are experiencing errors from there not being double quotes around the erb. This should help reduce the number of errors people experience.