Hello, im currently learning web development and im not quiet sure i grasp how the concept of SSL works.
Im currently working on a testserver, its a Nextcloud instance running on an Ubuntu machine that i have made public trough port forwarding. I access it trough my public IP. But i really dont like opening a none-encrypted server to the internet.
Is it possible for me to add SSL to this since its connected trough IP and not a domain?
I tried using the CertBot-auto but couldnt get it to work(im new with this so could be i did something wrong).
In case i do need a domain, i actually own www.iamkaspernielsen.com
would it be possible for me to get a SSL cert for that and use it on my Nextcloud server somehow?
no, that's not possible, you need a public visible and unique domain name.
Start with the basics:
Then share your results:
Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
I ran this command:
It produced this output:
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know):
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
Sure, if you aren't using it for anything else and it points to your Nextcloud installation. If it doesn't, perhaps you could use a different subdomain like cloud.iamkaspernielsen.com.