Changes

From SME Server
Jump to navigationJump to search
1,096 bytes added ,  17:21, 6 December 2015
no edit summary
Line 1: Line 1: −
Placeholder for http://forums.contribs.org/index.php/topic,51961.msg266680.html#msg266680
+
[[Category:Howto]]
 +
==Introduction==
 +
 
 +
== Installation ==
 +
I followed instructions at  http://wiki.contribs.org/Python_Altinstall
 +
But am told I should have 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:
 +
 
 +
<pre>
 +
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
 +
</pre>
 +
 
 +
Replacing email and domains as required.  Then configure SME with the certificates generated:
 +
 
 +
<pre>
 +
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
 +
</pre>
 +
 
 +
 
 +
 
 +
==Source from info==
 +
Source: http://forums.contribs.org/index.php/topic,51961.msg266680.html#msg266680
 +
 
 +
----
 +
[[Category:Howto]]
46

edits

Navigation menu