Add Let's Encrypt client
Part of adding Let's Encrypt certificates for pages domains Add acme-client gem Client is being initialized by private key stored in secrets.yml Let's Encrypt account is being created lazily. If it's already created, Acme::Client just gets account_kid by calling new_account method Make Let's Encrypt client an instance Wrap order and challenge classes
显示
- Gemfile 2 个添加, 0 个删除Gemfile
- Gemfile.lock 3 个添加, 0 个删除Gemfile.lock
- app/controllers/admin/application_settings_controller.rb 7 个添加, 0 个删除app/controllers/admin/application_settings_controller.rb
- app/views/admin/application_settings/_pages.html.haml 2 个添加, 3 个删除app/views/admin/application_settings/_pages.html.haml
- config/routes/admin.rb 1 个添加, 0 个删除config/routes/admin.rb
- lib/gitlab/lets_encrypt/challenge.rb 17 个添加, 0 个删除lib/gitlab/lets_encrypt/challenge.rb
- lib/gitlab/lets_encrypt/client.rb 74 个添加, 0 个删除lib/gitlab/lets_encrypt/client.rb
- lib/gitlab/lets_encrypt/order.rb 23 个添加, 0 个删除lib/gitlab/lets_encrypt/order.rb
- locale/gitlab.pot 1 个添加, 1 个删除locale/gitlab.pot
- spec/lib/gitlab/lets_encrypt/challenge_spec.rb 29 个添加, 0 个删除spec/lib/gitlab/lets_encrypt/challenge_spec.rb
- spec/lib/gitlab/lets_encrypt/client_spec.rb 120 个添加, 0 个删除spec/lib/gitlab/lets_encrypt/client_spec.rb
- spec/lib/gitlab/lets_encrypt/order_spec.rb 39 个添加, 0 个删除spec/lib/gitlab/lets_encrypt/order_spec.rb
- spec/support/helpers/lets_encrypt_helpers.rb 19 个添加, 0 个删除spec/support/helpers/lets_encrypt_helpers.rb
加载中
想要评论请 注册 或 登录