![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
capistrano-lets-encrypt
Advanced tools
Let's encrypt support for Capistrano 3.x
Thanks to @unixcharles and @zealot128 for their libraries, acme-client and letsencrypt-cli for managing part of the workflow to work with Let's encrypt. This library use both to create a series of capistrano tasks that should help you create certs on your projects deployed with capistrano
Add this line to your application's Gemfile:
gem 'capistrano-lets-encrypt'
gem 'capistrano'
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-lets-encrypt
Require in Capfile
to use the default task:
require 'capistrano/lets-encrypt'
You will get the following tasks
cap lets_encrypt:register # Register a Let's encrypt account
cap lets_encrypt:check_certificate # Check for validity of certificates
cap lets_encrypt:authorize # Authorize a domain using ACME protocol
cap lets_encrypt:cert # Create certificates and private keys
Configurable options (copy into deploy.rb), shown here with examples:
# Set the roles where the let's encrypt process should be started
# Be sure at least one server has primary: true
# default value: :web
set :lets_encrypt_roles, :lets_encrypt
# Optionally set the user to use when installing on the remote system
# default value: nil
set :lets_encrypt_user, nil
# Set it to true to use let's encrypt staging servers
# default value: false
set :lets_encrypt_test, true
# Set your let's encrypt account email (required)
# The account will be created if no private key match
# default value: nil
set :lets_encrypt_email, nil
# Set the path to your let's encrypt account private key
# default value: "#{fetch(:lets_encrypt_email)}.account_key.pem"
set :lets_encrypt_account_key, "#{fetch(:lets_encrypt_email)}.account_key.pem"
# Set the domains you want to register (required)
# This must be a string of one or more domains separated a space - e.g. "example.com example2.com"
# default value: nil
set :lets_encrypt_domains, nil
# Set the path from where you are serving your static assets
# default value: "#{release_path}/public"
set :lets_encrypt_challenge_public_path, "#{release_path}/public"
# Set the path where the new certs are going to be saved
# default value: "#{shared_path}/ssl/certs"
set :lets_encrypt_output_path, "#{shared_path}/ssl/certs"
# Set the local path where the certs will be saved
# default value: "~/certs"
set :lets_encrypt_local_output_path, "~/certs"
# Set the minimum time that the cert should be valid
# default value: 30
set :lets_encrypt_days_valid, 15
This tool needs Ruby >= 2.1 (as the dependency acme-client needs that because of use of keyword arguments).
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Thank you contributors!
capistrano-lets-encrypt is maintained by platanus.
Guides is © 2014 platanus, spa. It is free software and may be redistributed under the terms specified in the LICENSE file.
FAQs
Unknown package
We found that capistrano-lets-encrypt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.