Understanding letsencrypt on nextcloud

Hey,
is there a possibility to set nextcloud on https just in internal network?
Or is it just possible if you have a domain in www?

I found this tutorial (for I have lighttpd), but as I understand, it’s not possible to activate https within internal subnet as 192.168.178.1/nextcloud, isn’t it?

Cheers
dieterpi

What is the advantage of an SSL certificate that is only valid for your local network?

You can manually create such certificates for local hostnames, but any modern web browser will complain about this, as such certificates are not issued by a corresponding authority. This means that they are not valid :wink:

Since I don’t want to open nextcloud to the outside world, I only wanted to secure the intranet (in case it should be compromised). It’s just a bad feeling to send access data openly through the intranet. But it’s probably an overload of security.

How can I create such certificates and integrate them into the lighttpd?

there are quite some guide out describing how to create self singed certificates.

A configuration file to activate HTTPS could looks like following

Just as an idea how we do it.

As well, you might need to install lighttpd-mod-openssl module

thanks!