OPNsense Forum

English Forums => High availability => Topic started by: fabiodanzetta on September 03, 2021, 03:13:00 pm

Title: How to sync Let's Encrypt configuration to slave
Post by: fabiodanzetta on September 03, 2021, 03:13:00 pm
Hello to all,
I have this problem: I have installed and configured the Let's Encrypt plugin to use HTTPS for some services and everything works great.
I also configured HA proxy and everything is ok but let's encrypt configuration it is not possible to synchronize it with my second backup node as it does not appear among the selectable items in the high reliability menu.
How can I do it in such a way that I switch to the second node also through this I can use HTTPS?

Thank you all.
Title: Re: How to sync Let's Encrypt configuration to slave
Post by: sorano on September 04, 2021, 09:04:30 pm
You must select to sync Certificates in System: High Availability: Settings


Prego
Title: Re: How to sync Let's Encrypt configuration to slave
Post by: fabiodanzetta on September 05, 2021, 04:46:49 pm
Sorano thanks.

The option to synchronize the certificates was already enabled but when I go to see on the slave, under the heading certificates of the let's encrypt plugin, there is no certificate and no other settings that are present on the master.

Thanks again
Title: Re: How to sync Let's Encrypt configuration to slave
Post by: sorano on September 06, 2021, 04:47:13 pm
under the heading certificates of the let's encrypt plugin, there is no certificate and no other settings that are present on the master.

That is as expected. You sync the certificates, not the LE settings.

Look at certificates on the slave instead.
System: Trust: Certificates
Title: Re: How to sync Let's Encrypt configuration to slave
Post by: fabiodanzetta on September 07, 2021, 05:38:57 pm
Sorano thanks again, I found there certificates.
So I guess I'll have to replicate the let's encrypt plugin configuration by hand right?
Isn't there a way to sync it automatically?

Thanks