Skip to content

rgglez/letsencrypt-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

letsencrypt-scripts

License: GPL v3 GitHub all releases GitHub issues GitHub commit activity

Some helper scripts for Let's Encrypt administration. These scripts use DNS authentication for the requests.

It works with the ndjbdns server, assuming that each domain has an independent zone file (see my scripts for working with this configuration).

These scripts must be placed in the same machine as the ndjbdns server.

Scripts

  • auth_ndjbdns.sh - Generates the TXT record for the authentication, in the DNS zone file. This assumes that there's one zone file per domain.
  • cleanup_ndjbdns.sh - Removes the TXT record from the DNS zone file, after request is completed.
  • certbot.pl - Executes the certbot request. It takes 2 parameters:
    • --domains a string listing the domains, for instance: "example.com *.example.com"
    • --email your e-mail address.
  • batch.pl - Batch processing for several domains. It takes one parameter:
    • --file the path of a file listing, one per line, the domains to be processed.
  • privrsa.sh generates a .rsa file suitable for Aliyun Certificate Manager.
  • fixfullchain.sh generates a fullchain suitable for Aliyun.

Dependencies

Notes

  • You must adjust the paths as you need.

License

Copyright (c) 2020, Rodolfo González González.

Licensed under GPL v3. Read the LICENSE file.

About

Some helper scripts for Let's Encrypt administration.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published