owncloud-archive / vm

Scripts to build an ownCloud community production VM - this was in use until 9.1.x releases. Since 10.0.1 we build appliances with Univention
https://www.univention.de/produkte/univention-app-center/app-katalog/owncloud/
23 stars 14 forks source link

Add Let's Encrypt to support valid SSL certs #12

Open MorrisJobke opened 9 years ago

MorrisJobke commented 9 years ago

cc @LukasReschke @jakobsack

enoch85 commented 8 years ago

Let's Encrypt is in Beta now, would it be possible to add?

jakobsack commented 8 years ago

I use let's encrypt on my server and it works fine so far, but it is quite slow when using letsencrypt-auto. Maybe even to slow for the usage in a vm. If we could use letsencrypt instead of letsencrypt-auto it definitely would be an awesome feature.

See https://letsencrypt.org/howitworks/ for the difference between the two commands.

jakobsack commented 8 years ago

The command would be something like letsencrypt certonly --email users@email.address --agree-tos --webroot -w /var/www/owncloud -d whatever.pagekite.com.

The certificate will be saved in /etc/letsencrypt/live/whatever.pagekite.com/.

enoch85 commented 8 years ago

@jakobsack Would it be possible to make a script out of it? It sure seems like it. I'm thinking of adding this to my own VM as well.

enoch85 commented 8 years ago

Here is my work so far: https://github.com/enoch85/ownCloud-VM/blob/master/lets-encrypt/activate-ssl.sh cc @jnweiger @Kawohl