sslmate

Buy and manage SSL certificates from the command line

brewmacoslinux
Try with needOr install directly
Source

About

Buy SSL certs from the command-line

Commands

sslmate

Examples

Purchase a new SSL certificate for a domain$ sslmate buy example.com
Download an issued certificate to current directory$ sslmate download example.com
List all your certificates and their expiration dates$ sslmate list