SSLMate command line client
sslmate is the command line client for SSLMate, a service for purchasing and managing SSL certificates. SSLMate provides easy-to-use tools for buying, renewing, and revoking certificates, for monitoring the expiration date of your certificates, and for synchronizing your certificates between your servers.
SSLMate emphasizes speed, ease-of-use, and automation. For example, the command to purchase a certificate (sslmate buy) typically completes in under a minute and automates the steps of generating a private key, generating a CSR, and building a certificate bundle. SSLMate can automatically renew your certificates, and you can run sslmate download from a cron job so that renewed certificates are automatically downloaded to your server.
To use the
sslmate command, you must create a free account at https://sslmate.com.
SSLMate officially supports:
- Debian 7, 8, and 9
- Ubuntu 12.04, 14.04, 15.04, 15.10, 16.04, 16,10, and 17.04
- RHEL/CentOS 6 and 7
- Fedora 20 and above
- Arch Linux (available in the AUR)
- Mac OS X 10.9 and above (available from Homebrew)
Packages (.deb, .rpm, and .pkg) for the above operating systems are available.
SSLMate can run on other Unix-based operating systems provided the following software is installed:
Perl v5.10.0 or newer.
The following Perl modules, which can be installed by running
cpan MODULENAMEor by installing the corresponding distro package.
Module Name Debian/Ubuntu Package RHEL/CentOS Package ----------------------------------------------------------------------------- URI liburi-perl perl-URI Term::ReadKey libterm-readkey-perl perl-TermReadKey JSON::PP  libjson-perl perl-JSON LWP (>= 6)  libwww-perl perl-libwww-perl LWP::Protocol::https  liblwp-protocol-https-perl perl-LWP-Protocol-https
JSON::PPis included with Perl 5.14 and later.
LWPis optional; if not available SSLMate will fall back to executing the
To use automatic DNS approval with Route 53, the following additional software must be installed:
- Python 2.6, Python 2.7, Python 3, or newer.
- Boto (Python module) 2.2 or newer.
The following Makefile variables can be passed on the command line to
PREFIX=/path- Install to given path (default:
DESTDIR=/path- Stage installed files under the given path instead of installing directly to the filesystem (intended for package building)
make PREFIX=/usr make install PREFIX=/usr DESTDIR=/tmp/pkgroot
See SSLMate's guide to getting started.