Web services: Difference between revisions

change headers
→‎Let's Encrypt free SSL certificate: add Adding multiple domain names for a certificate
change headers
Line 1: Line 1:
== PHP ==
= PHP =


=== Downgrading PHP 7 to PHP 5.6 ===
== Downgrading PHP 7 to PHP 5.6 ==


* ''Last tested on Ubuntu 14.04.4 LTS (trusty) | easy | less than ten minutes''
* ''Last tested on Ubuntu 14.04.4 LTS (trusty) | easy | less than ten minutes''
Line 39: Line 39:
Reference: [https://by-example.org/ubuntu-16-04-xenial-downgrade-php-7-to-php-5-6/ Downgrade PHP 7 to PHP 5.6]
Reference: [https://by-example.org/ubuntu-16-04-xenial-downgrade-php-7-to-php-5-6/ Downgrade PHP 7 to PHP 5.6]


== SSL/TLS ==
= SSL/TLS =


=== Generate a CSR ===
== Generate a CSR ==


* ''Last tested on Ubuntu 14.04.2 LTS (trusty) | easy | less than five minutes''
* ''Last tested on Ubuntu 14.04.2 LTS (trusty) | easy | less than five minutes''
Line 76: Line 76:
</syntaxhighlight>
</syntaxhighlight>


=== Let's Encrypt free SSL certificate ===
== Let's Encrypt free SSL certificate ==


* ''Last tested on Ubuntu 14.04.2 LTS (trusty) | easy | less than ten minutes | 27 June 2016''
* ''Last tested on Ubuntu 14.04.2 LTS (trusty) | easy | less than ten minutes | 27 June 2016''
Line 85: Line 85:
This one is for Ubuntu 14.04 (trusty) and pursues the easier-to-use option. I'm assuming that you have a sudo access, although that isn't an absolute requirement.
This one is for Ubuntu 14.04 (trusty) and pursues the easier-to-use option. I'm assuming that you have a sudo access, although that isn't an absolute requirement.


==== Installation ====
=== Installation ===


Download the executable and make it executable.
Download the executable and make it executable.
Line 111: Line 111:
<code>certbot-auto</code> creates a folder in <span class="path">/etc/letsencrypt/</span> as a default.
<code>certbot-auto</code> creates a folder in <span class="path">/etc/letsencrypt/</span> as a default.


==== Adding more domains ====
=== Adding more domains ===


After the initial installation, if you need to add more domains you can do it directly from the CLI.
After the initial installation, if you need to add more domains you can do it directly from the CLI.
Line 119: Line 119:
</source>
</source>


==== Configuring to auto-renew certificate ====
=== Configuring to auto-renew certificate ===


<code>certbot-auto</code> can also auto-renew certificates by adding a command as a cronjob.
<code>certbot-auto</code> can also auto-renew certificates by adding a command as a cronjob.
Line 135: Line 135:
[[Category:System administration]]
[[Category:System administration]]


==== Adding multiple domain names for a certificate ====
=== Adding multiple domain names for a certificate ===


You can use one certificate for multiple domains. The certificate is generated, but you need to install it yourself.
You can use one certificate for multiple domains. The certificate is generated, but you need to install it yourself.