Difference between revisions of "Letsencrypt"
From SME Server
Jump to navigationJump to searchLine 3: | Line 3: | ||
{{Note box|To install or use a different version on '''SME Server 9.x''', please see '''http://wiki.contribs.org/Software_Collections'''}} | {{Note box|To install or use a different version on '''SME Server 9.x''', please see '''http://wiki.contribs.org/Software_Collections'''}} | ||
{{Level|Advanced}} | {{Level|Advanced}} | ||
− | {{Warning box|This procedure | + | {{Warning box|This procedure change the default certificates and could significantly compromise your server's security.<br />Thorough understanding of linux system management is required.<br /><br /><b>Proceed at your own risk</b>}} |
==Introduction== | ==Introduction== | ||
Revision as of 17:23, 6 December 2015
Introduction
Installation
followed instructions at http://wiki.contribs.org/Software_Collections and the python related wiki page specifically.
Let's Encrypt needs virtualenv so:
pip install virtualenv
To use Let's Encrypt run:
mkdir src cd src git clone https://github.com/letsencrypt/letsencrypt.git cd letsencrypt service httpd-e-smith stop ./letsencrypt-auto certonly --standalone --email me@mydomain.co.uk -d test.firstdomain.co.uk -d seconddomain.co.uk -d www.seconddomain.co.uk
Replacing email and domains as required. Then configure SME with the certificates generated:
config setprop modSSL crt /etc/letsencrypt/live/test.firstdomain.co.uk/fullchain.pem config setprop modSSL key /etc/letsencrypt/live/test.firstdomain.co.uk/privkey.pem config setprop modSSL CertificateChainFile /etc/letsencrypt/live/test.firstdomain.co.uk/fullchain.pem signal-event post-upgrade; signal-event reboot
Source from info
Source: http://forums.contribs.org/index.php/topic,51961.msg266680.html#msg266680