SSL certificate for IP based Nextcloud?
26 minutes ago, Gleb K said:I know a website is easier but I don't think I will be able to buy one. I did try installing a self signed certificate and it wasn't very hard however most browsers come up with a warning message which will 1. be annoying 2. concern my other family members because they don't know that it means that the connection is encrypted just with a self signed certificate. Do you know a better way of installing such a certificate? Otherwise I think I'll have to go with a domain name.
You can try caddy web server and use that as transparent proxy. It will generated and install certificates and also redirect users to https.
You need port forward both 443 and 80 to get it working. You might have change nextcloud to run on a different port apart from 443 or 80 but is not that hard. You can replace the exampledomain.com with your ip address if it static if not I still recommend you a dynamic dns service.
For example for caddy conf
exampledomain.com:443 {
tls example@email.com {
}
proxy / 127.0.0.1:1234{
transparent
websocket
}
}
