Created
June 20, 2018 00:22
-
-
Save amitsaxena/b23cff71812eca2d37f17dd75a406974 to your computer and use it in GitHub Desktop.
Generate a free Let’s Encrypt wildcard SSL certificate for your domain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://get.acme.sh | sh | |
# Open a new terminal window after executing above command | |
# Create a cloudflare account and get your API key from the profile section | |
export CF_Email=my.cloudflare@example.com | |
export CF_Key=replace_with_cloudflare_api_key | |
# Generate wildcard certificate for *.example.com | |
acme.sh --issue -d example.com -d '*.example.com' --dns dns_cf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment