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
#!/bin/bash | |
## Usage: new_cert example.net www.example.net images.example.net | |
## | |
## Creates o renews a let's encrypt certifcate using acme-tiny | |
## Files' names for certs/keys will be based on the first domain | |
## if multiple are specified as arguments | |
## | |
## Depends: openssl, acme-tiny, an account key: openssl genrsa 4096 > account.key | |
## Recommends: let's encrypt intermediat cert: |