This gem is itamae plugin. Get certificate of domain from Let's Encrypt
Add this line to your application's Gemfile:
gem 'itamae-plugin-recipe-letsencrypt'
And then execute:
$ bundle
Or install it yourself as:
$ gem install itamae-plugin-recipe-letsencrypt
- Debian GNU/Linux 8 (jessie)
I have not confirmed it in other environments yet I will check in turn
include_recipe "letsencrypt::get"
itamae -y node.yml
# node.yml
letsencrypt:
certbot_auto_path: /usr/bin/certbot-auto
email: test@example.com
cron_user: root
cron_file_path: /etc/cron.d/itamae-letsencrypt
cron_configuration: true
challenge_type: 'http-01' # port80 is http-01, port443 is tls-sni-01
domains:
- test.example.com
- test2.example.com
authenticator: standalone # standalone, webroot
webroot_path: /var/www/example
debug_mode: false
Process of the port selected by challenge_type
needs to be stopped
- Fork it ( https://github.com/hatappi/itamae-plugin-recipe-letsencrypt/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
The gem is available as open source under the terms of the MIT License.