Hi @nekakyjot, and welcome to the LE community forum
Certbot should be configured [via cron type job] to renew all certs that it manages.
You can see which certs certbot is managing with: certbot certificates
You can review cron and systemd timers to ensure certbot is configured to renew.
That said, without added instruction, a certbot renewal will only renew the cert.
All other steps will then need to be repeated:
create .pfx file from latest cert
import .pfx file into Windows
ensure PowerPages is using the latest certificate
With that said, and not knowing exactly what system you are using, nor what PowerPages is...
I would recommend that you look into using a [proper] Windows based ACME client.
Like: Posh-ACME or CertifyTheWeb
EDIT: Note: If there is a plugin that works with DSP, then that is the simplest way to automate this.
Instead of doing it:
Thing is the certificate I got I manually uploaded to PowerPages, so I guess each renew will need to be uploaded again?
Since it's in PowerApps, I can't run certbot there, or I can run it on another server?
It's called dandomain.dk.
Let's say they have a plugin, won't I need to manually upload the cert into the PowerPages? Or the DNS TXT record will make it so there is not need to upload the file in the PowerPages admin panel?
You do need to create a complete automation process.
Automating the cert renewals is only part of that.
Updating PowerPages is another part - but I'm confident that there must be ways to automate that as well.
I'm not familiar with:
Maybe you can check through their website OR speak/email with one of them to see if they support DNS automation.