Skip to content

Let's Encrypt hook and harness scripts for integration with OS X Server

Notifications You must be signed in to change notification settings

physcip/letsencrypt-mac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dehydrated support scripts for OS X Server

dehydrated (formerly letsencrypt.sh) is a nice and simple client for obtaining free SSL certificates from Let's Encrypt. This repository contains a wrapper script which automatically pulls the host names from configured SSL websites in OS X Server, requests the appropriate certificates, and calls a hook that imports them into Keychain and sets the OS X Server to use them.

Requirements

This script has been developed and tested on

  • OS X 10.11.4 through 10.13.6
  • Server.app 5.1 through 5.6.3

Older versions might work too, but have not been tested.

Newer versions will not work since Apple has removed the web server management tools.

Using

In Server.app, go to the Websites section and create a new web site for each domain name you intend to use. If you want multiple domains to point to the same web site, you can add these under Additional Domains. Set the port number to 443 and choose the self-signed certificate that has been created by OS X Server.

Now execute run.sh from this repository with sudo rights.

About

Let's Encrypt hook and harness scripts for integration with OS X Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages