New on LowEndTalk? Please Register and read our Community Rules.
how to get a ssl cerficate and install it?

I recently got a VPS. I already installed the panel and for domain SSL certificates, it's possible to do it in the panel.
However, when i try to access the panel, you know those bunch of numbers called ip address, there's no SSL certificate for it. How can I install an SSL certificate on the ip address?
Comments
You can't get a TLS certificate for an IP address (unless you're a huge corporation)
edit: Actually now that I look it up, it might 'only' be a few hundred dollars.
zerossl can provide 3 months free ip certificate.
so the ip address that i use to access the panel will always not be 'https'?
@cheapsslweb is the only active SSL certificate seller on this forum.
Would they do one for you?
Most control panels will let you use the hostname for the vps to login. That way you can set an SSL certificate for the hostname and access your control panel over https
To do so you would need to...
Set your hostname to a domain that you would like to use for the vps.
For example server.pikachupokemon.com
Set that where you purchased your vps in their control panel and set it on the server if you need to using ssh
Then set in your DNS for server.pikachupokemon.com as an A record to point to the IP address
Then if your selected control panel offers SSL via Letsencrypt which I should imagine is available you can create a free SSL certificate for the hostname and then you are all set.
Other requirements may be required consult with the documentation for your control panel.
You can buy a proper domain for about a dollar (USD) for the first year; do that if you are learning, it will make life much easier.
I say the best way to learn is to follow a nginx config guide and point the config at the pub/priv keys and /var/www/index.html or something in order to learn how these things work behind the scene. Most people get a 3rd party SSL cert from LetsEncrypt because SSL certs arent difficult to generate and thus are free, but they are difficult to insure.
https://letsencrypt.org/
maybe you can use Cloudflare
Since you are trying to issue an SSL certificate with an IP address,
Let's Encrypt cannot issue certificates by IP address. (ZeroSSL can be issued)
However, a good solution is to assign some kind of domain name for control panel access and then issue an SSL certificate.
you can install certbot with snap. cerbot will auto renew cert when close to expiry.
https://certbot.eff.org/
0 at zerossl
2 lines
after 90 days can it be renewed for free ?
Yup
If you use CloudFlare (as I saw in another thread) then SSL is automatically provided by CloudFlare and you don't need to do anything. Although this SSL is only between user and CloudFlare and not CloudFlare and your server but still good enough.
I'm using a proper domain. The ip address isn't 'https" but the domain is
Is this for domain or ip address?
Both, it depends on what you configured in /etc/nginx/site-enabled