Hello , I setup nextcloudpi on raspberry pi 4 with an ip and I'm tryna get a ssl certificate for it , but no videos or articles are helpful , I just need a little help with this
Hi @hynsor, and welcome to the LE community forum
Please take the time to answer the questions that are normally presented when opening a HELP topic:
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. https://crt.sh/?q=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):
My domain is: I92.168.12.204
I ran this command:
It produced this output:
My web server is (include version): Raspberry Pi 4 Model B Rev 1.5 (4 cores)
The operating system my web server runs on is (include version): Linux 6.1.21-v8+ aarch64
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know):yes
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)
public certificate requires a public name, trusted public CA won't sign certificate on pirvate ip address, and LE doesn't sign certificate for IP address in general
Incorrect, that is an IPv4 Address not a domain name.
I'm just tryna get a ssl for my nextcloud
What if i do something like cloud.hynsor.com which hynsor.com is my domain how can i change the ip on my nextcloud to the domain and get the certificate
add subdomain over nextcloud subdomain on cloud flare panel and give a record for it
If you look at screenshot , ive tryed that and when i go to nextcloud.hynsor.com it says it cant be reached
Because you're using a private ip address.
anyway to unprivate or what else could i do
Check here for a better understanding of ip addresses https://whatismyipaddress.com/private-ip
That Dont Really Help Me
It seems that it is neither of them.
The first number is a letter:
No its a 1 I miss typed
I figured as much.
LE won't provide certs for IP numbers.
RFC 1918 prohibits that network from being routed over the Internet.
So...
If anyone is going to access your nextcloud from the Internet, you will have to use a name and that name must resolve to the outside IP of your router.
And that router must port forward HTTP [port 80] in to your nextcloud system - so that it can obtain a cert using HTTP-01 authentication [which is the simplest way to get one].
Your router should also forward whatever port will be providing secure content to the Internet [usually HTTP (port 443)].
So How Will I be able to change the the nextcloud Ip to a domain name
That "happens" within the web server.
Okay Ill check and see