Browse Source

spelling: macos

pull/395/head
Josh Soref 7 years ago
parent
commit
71cbde40d8
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      README.md
  2. +1
    -1
      getssl

+ 1
- 1
README.md View File

@ -2,7 +2,7 @@
Obtain SSL certificates from the letsencrypt.org ACME server. Suitable for automating the process on remote servers.
## Features
* **Bash** - It runs on virtually all unix machines, including BSD, most Linux distributions, MAC OSX.
* **Bash** - It runs on virtually all unix machines, including BSD, most Linux distributions, macOS.
* **Get certificates for remote servers** - The tokens used to provide validation of domain ownership, and the certificates themselves can be automatically copied to remote servers (via ssh, sftp or ftp for tokens). The script doesn't need to run on the server itself. This can be useful if you don't have access to run such scripts on the server itself, e.g. if it's a shared server.
* **Runs as a daily cron** - so certificates will be automatically renewed when required.
* **Automatic certificate renewals**


+ 1
- 1
getssl View File

@ -676,7 +676,7 @@ date_epoc() { # convert the date into epoch time
date_fmt() { # format date from epoc time to YYYY-MM-DD
if [[ "$os" == "bsd" ]]; then #uses older style date function.
date -j -f "%s" "$1" +%F
elif [[ "$os" == "mac" ]]; then # MAC OSX uses older BSD style date.
elif [[ "$os" == "mac" ]]; then # macOS uses older BSD style date.
date -j -f "%s" "$1" +%F
else
date -d "@$1" +%F


Loading…
Cancel
Save