How to install ssl non certbot non let's encrypt

Hi,

How to install paid ssl or is there a let’s encrypt purchase version etc. ?

I was intending to purchase ssl from namecheap but what type and how to install it ?

Just a few users for home server, with passwords app, bookmarks, images, talk app and mobile use etc. I have 1 domain.

Was going to purchase a 3 or 5 years ssl someplace and install it.

Please advise on how to, and which ssl I actually need for these extensions to stop popping up everytime the let’s encrypt ssl expires.

Do I need anything more then the PositiveSSL ?
Or what compares to the let’s encrypt that I have now ?

Here is there plans
https://www.namecheap.com/security/ssl-certificates/
Thanks

You can no longer buy certificates that are valid for 3 or even 5 years. Since 2020, 398 days or about 13 months is the maximum, and in the near future it will be even shorter.

https://thehackernews.com/2020/09/ssl-tls-certificate-validity-398.html

https://www.theregister.com/2025/04/14/ssl_tls_certificates/

What exactly do you mean by ā€œthese extensions to stop popping up every time the Let’s encrypt ssl expiresā€? I’m using Certbot on my server for years and it automatically renews my certificates without any problems and without me even noticing, and it does the same on millions of other servers worldwide.

In 2025 there is absolutely no reason for a home user, and I think for most business use cases as well, to spend money on a certificate. If the automatic renewal isn’t working for you, you should try to fix the problem that’s causing it not to work, rather than trying to work around it by buying a certificate.

You could start by filling out the support template and describing your setup so that the community can try to help you.

Sorry for my ignorance on this matter.
I use browser extensions like the nextcloud password extension or the bookmarks extension.

So once the certificate expires or requires me to let’s encrypt again then the browser gets ssl security pop up window on it likely due to the browser bookmarks extension needing

I was not aware of a ā€œautomatic renewalā€ option.

I’m reading certbot now and installed via ā€œsudo install snap certbot --classicā€.

I assume this is the proper version of certbot.

I could use some tips on how to use certbot with nextcloud installed on ubuntu server with snap etc.

I am looking at this method but don’t want to break anything so reading cautiously.
https://certbot.eff.org/instructions?ws=apache&os=snap

The symbolic links failed so this might not apply exactly for my installed nextcloud. I’m trying to learn about it.

Please advise any info
Thanks

you don’t need certbot installed for getting the snap encrypted. Nextcloud snap includes a service for automated HTTPS encryption and renewal using Lets Encrypt, self-signed certificates, or custom certificates.

be sure to remove certbot sudo snap remove --purge certbot --classic when using the included Nextcloud snap encryption service. you can’t have both services running!

Tip

read the docs Home Ā· nextcloud-snap/nextcloud-snap Wiki Ā· GitHub

From reading this site:

This says create the symbolic link but it fails because there is a link already.
ā€œreadlink -f /snap/bin/certbotā€ indicates the link already exists to:
usr/bin/snap and not usr/bin/certbot as this instruction indicates.

Thanks,

To start with I’m trying to remove certbot.
sudo snap remove --purge certbot --classic

I get this error:
unknown flag ā€˜classic’

sudo snap remove certbot seems to do the trick, I didn’t actually do anything but install so no configuration of certificates occurred so far.

I’ll read those docs about automatic renewal for lets encrypt I didn’t know there was a way to do that.

Thanks

I do not understand the options for let’s encrypt.

I already have been using the command:

sudo nextcloud.enable-https lets-encrypt

Certificate is not automatically kept up to day as indicated
I have to run this command every 90 days or less.

What is the [OPTION] for subcommand if any that is suppose to re run for automatically keeping the ssl up to date ?

It obtains certificates and restarts apache. Nothing really to the command on the terminal.

However, it’s never automatically updated since I had the server running for years. Always 90 days.

Thanks

once the encryption service is setup correctly, no further action is required
the service will be activated and will check if certificate renewal is necessary

sudo snap services nextcloud

if you have previously disabled that service, you may need to enable it again so that it is active see Managing services

sudo snap enable nextcloud.renew-certs enable the service
sudo snap start nextcloud.renew-certs start the service
sudo snap start --enable nextcloud.renew-certs start and enable service
sudo snap restart nextcloud.renew-certs restart the service

read the docs

Mine looks like this:
Service Startup Current Notes
nextcloud.apache enabled active -
nextcloud.logrotate enabled inactive timer-activated
nextcloud.mysql enabled active -
nextcloud.nextcloud-cron enabled active -

nextcloud.nextcloud-fixer enabled inactive -

nextcloud.php-fpm enabled active -
nextcloud.redis-server enabled active -
nextcloud.renew-certs enabled active -

But does not renew automatically I always have to run the command and it does indeed renew but not automatically.

Why >? nextcloud.nextcloud-fixer enabled inactive -

sorry.. my bad, try sudo snap remove --purge certbot

that error message should have rung a bell :zany_face:

there can only be one certificate service

that’s perfectly okay, the fixer only runs when its needed. in my first screenshot (testing instance, freshly started) the fixer hadn’t finished

it’ll look like this once the fixer has completed checking:

in that case you’ve not set up the encryption service correctly.

try encryption from scratch

or

check your logs:
sudo cat /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log

do yourself a favour and read read read the docs… its all in there

FWIW, I’m a NC newbie (put my server together in March) and my LetsEncrypt certificate renewed on May 1st without me doing anything. It just works.

I’m very happy with it.

1 Like

Thanks,
I have read these links and documents completely and the man page is a bit vague on [OPTIONS]

I’ll try to gather this info but is there a list of options or is that all there is as shown in the man page ?

Thanks

  • so maybe you can be clear which options you’re looking for?
  • which options do you require?
  • give a clear example of the unclear options

from what i’ve gathered in this post;

  • you have Nextcloud snap installed on your system.
  • you wrongly installed the certbot snap thinking you’d need that to get an ssl certificate.
  • your certificates did not renew automatically, probably due to above installed certbot snap.

i’ve explained that the certbot snap is not required and should be removed letting the Nextcloud snap certification service do its job. you’ve seen the docs about configuring the Nextcloud snap certification service and getting your Nextcloud snap certified.

if there is anything else required for some sort of personalised custom configuration that you have not described in detail, there’s not much anyone can do for you.

have you tried getting a lets encrypt certificate for your Nextcloud snap instance using the Nextcloud snap certification service yet?

everything you need to know is in the man pages… if something is unclear feel free to request assistance, but be clear about what you need and which option is unclear.

Sorry for the delay,
You wrote :>

  • you have Nextcloud snap installed on your system.
  • you wrongly installed the certbot snap thinking you’d need that to get an ssl certificate.
  • your certificates did not renew automatically, probably due to above installed certbot snap.

So, not exactly but more like this:

*I have Nexcloud snap installed -(been using it for years with [let’s encrypt]
*Since let’s encrypt did NOT automatically update I wrongly installed certbot snap
*I did not go any further to configure certbot snap-but asked a question about it on this forum first
*I then removed certbot snap as directed
*I used the command line for ā€œlet’s encryptā€ AS ALWAYS to update the certificate.
*Certificates have always been working but expire and require command to update again

Explained further:
So…, because let’s encrypt NEVER automatically updated, and has been this way for years, I started to read and research things about attempting to make it automatically update.

So now everything is configured as originally configured years ago including the same old commands I use for let’s encrypt. And there is NO snap certbot installed that I know of or any other certbot that I recall.

Let’s encrypt commands- takes me through the process to ask if I have everything, and asks for email and to enter domains divided by spaces.
I have my subdomain and base domain entered with spaces as directed by let’s encrypt.

Let’s encrypt then updates apache and restarts apache etc.
All is well unil it expires again. No automatic updates.

That’s how it’s been for years; and I assumed because that’s just the way it was suppose to be. I had no idea it was actually suppose to automatically update on it’s own.

Thanks for any instruction on this.

entering your base domain (TLD) and subdomain is not permitted… its either or and not both! you may enter multiple domains, see Managing HTTP encryption (HTTPS) Ā· nextcloud-snap/nextcloud-snap Wiki Ā· GitHub

Enter valid email address and domain/subdomain. If you need to setup multiple domains then separate the domains/subdomains with a comma.

@kyrofa could you confirm please

The Wiki GitHub literally says do to do this separated by comma.

No error or complaint from let’s encrypt.

So do you think if I only use one or the other that it will solve the autorenew ?

its unclear why this is necessary, its not required and security scan fails for mydomain.tld scans

we still haven’t seen any logs showing that this has failed. without those logs there is no way of telling what went wrong.

so suggested procedure:

  • remove current configuration and start lets encrypt from scratch entering only the subdomain (cloud.mydomain.tld)
  • if all is well and the certificate in place, try executing certificate renewal sudo snap restart nextcloud.renew-certs manually to see whether you see an error in the logs, post the output here.

yes, i believe so…

it works if you’re using multiple subdomains like cloud.mydomain.tld, cloud.myotherdomain.tld, nc.mydomain.tld comma seperated… tested personally.

getting the base domain mydomain.tld and sub domain cloud.mydomain.tld certified works when you’re using a reverse proxy… personally tested, which you’re apparently not using.

its surprising that it worked at all with the certbot snap… did it?

While you were responding I literally did a lets encrypt from scratch.

entered with (space-separate) mydomain.com otherdomain.mydomain.com ā€œfor exampleā€

OK, and during the process I noticed something.
Wiki says separate by comma

let’s encrypt says (space separate) during the command and command line output instructs to use (space-separate) by lets encrypt itself.

I have not used comma, I have used (space separate)
Let me start from scratch and separate by comma but seems weird to ignore the instruction from lets encrypt

I never used certbot snap. This is what I keep saying. I only installed certbot snap and was going to attempt to use commands for certificates etc.

I never did, and so I uninstalled certbot snap as you directed. So there was never any certbot snap being used to get certificates only lets encrypt.

cerbot snap was a recent development only because lets encrypt was not autorenewing and I was thinking of purchasing a certificate or something because of this.