PB with client configuration after hardening

72 views
Skip to first unread message

Nicolas THOREZ

unread,
Mar 31, 2025, 10:15:44 AMMar 31
to Minarca Data Backup
Hi.

I have a fressh install of minarca server. For testing purpose, some clients were configured with default server address (http://a.b.c.d:8080).
Since I have hardened server with your documentation (https://nexus.ikus-soft.com/repository/archive/minarca/6.0.3/doc/networking.html), I must reconfigure clients with new address (https://my.domain.tld).
However, clients cannot connect with this address, even if website is accessible from browser.

For additionnal information, I don't use Let's Encrypt certificate, I use one from my PKI and domain is local only.

Ther's no log on server side. On client side, I've this log :

minarca_client_error.pngminarca_server_browser_view.png

Regards.
Nicolas THOREZ

Patrik Dufresne

unread,
Mar 31, 2025, 10:56:33 AMMar 31
to min...@googlegroups.com
Hello Nicolas,

This is strange. Could you share your logs ? The exception raised when this occurs would be a great help to understand what is going on. Location of the logs are documented in the troubleshooting section.

--
You received this message because you are subscribed to the Google Groups "Minarca Data Backup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minarca+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/minarca/67b60a6a-91db-439d-bd83-905cc58ea8b2n%40googlegroups.com.


--
** Par mesure d'efficacité, je consulte mes courriels une fois par jour.
IKUS Software
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Nicolas THOREZ

unread,
Apr 1, 2025, 2:56:07 PMApr 1
to Minarca Data Backup
Here all logs I have.
backup0.log
access.log
server.log
shell.log
minarca.log

Patrik Dufresne

unread,
Apr 1, 2025, 3:29:26 PMApr 1
to min...@googlegroups.com
Hello Nicolas,

Thanks for sharing your logs.

I'm not sure what exactly you are doing, but apparently the connection to the hostname you provided "https://lbg-backup-1.lbg1.mtg" is not working. Indeed it's not working from my end either. It's most likely an internal network ?

The only relevant log for this issue is "minarca.log". You don't need to share any other logs file. Could you delete this log file and run minarca with "--debug" flag ? This will increase the verbosity of the logs.

P.S.:  Attaching a file to the email is fine. But your email goes into a queue for approval. No need to send it multiple time. ;)


Nicolas THOREZ

unread,
Apr 3, 2025, 10:37:41 AMApr 3
to Minarca Data Backup
Hi.

The server URL is effectively a local domain. We want use Minarca for internal use.

I've launch minarca agent with --debug flag but the log file doesn't show any clue.
I was thinking about a behavior we encounter with our PKI and some Linux tools. If we don't specifically specify the CA certificate, the tools fail to establish the HTTPS connection.
On Windows, you normally just add this certificate to the OS certificate bank and that's it, but some software like Firefox uses its own bank.

Maybe, problem is there. How minarca work with this kind of certificates ? Can I ignore certificate error to test this ?
minarca.log

Patrik Dufresne

unread,
Apr 3, 2025, 12:08:10 PMApr 3
to min...@googlegroups.com
Hello Nicolas,

> I've launch minarca agent with --debug flag but the log file doesn't show any clue.

Too bad for the logs, indeed the current version of minarca is hiding crucial details regarding the exact problem. Will check to get this fixed in a future version.

> was thinking about a behavior we encounter with our PKI and some Linux tools. If we don't specifically specify the CA certificate, the tools fail to establish the HTTPS connection.
> Maybe, problem is there. How minarca work with this kind of certificates ? Can I ignore certificate error to test this ?

Good question !
Minarca is using `requests` to make https connection to the server. So any documentation about requests should work with Minarca. It seems you can define REQUESTS_CA_BUNDLE environment variable. With your own CA.

Internally `requests` is not using Windows CA Bundle. It uses certifi instead. So if you are using your own CA. That might explain why you are facing issues with SSL.




--
ATTENTION : Je serai en vacances du 2 au 21 mai 2025.
ATTENTION: I will be on vacation from May 2 to May 21, 2025.

Nicolas THOREZ

unread,
Apr 4, 2025, 5:14:46 AMApr 4
to Minarca Data Backup
Hi.

So, that's the point.

I've tried with a fqdn with a publicly trusted certificate and It's works.
Next, I've added the environment variable REQUESTS_CA_BUNDLE (value : /path/to/ca_fullchain.pem) and after reboot of client computer, the new configuration with fqdn and privately trusted certificate woks.

Case closed. Thanks for support.
Nicolas THOREZ

Patrik Dufresne

unread,
Apr 4, 2025, 8:03:37 AMApr 4
to min...@googlegroups.com

Hello Nicolas,

I'm glad you figured out how to get this working for your needs. I've also created an issue in Minarca to investigate the possibility of using OS certificates, at least on Windows, as it's probably the expected behavior.

https://gitlab.com/ikus-soft/minarca/-/issues/309

Patrik Dufresne

unread,
May 28, 2025, 4:38:50 PMMay 28
to min...@googlegroups.com
Hello Nicolas,

I'm working on a fix to better support Operating system Certificates instead of using embedded one. Would you be willing to test if this is working for you ?

The following link will work for a week:

For anyone interested, let continue the discussion in this ticket:
https://gitlab.com/ikus-soft/minarca/-/issues/309

Nicolas THOREZ

unread,
May 30, 2025, 2:29:07 AMMay 30
to Minarca Data Backup
Hi.

I'll check and let you know.

Regards.

Nicolas THOREZ

unread,
Jun 3, 2025, 8:54:36 AMJun 3
to Minarca Data Backup
Hi.

The tests were completed without any problems.
The root and intermediate certificates were saved to the computer's certificate store during the first test and to the user's certificate store during the second.

Regards.

Patrik Dufresne

unread,
Jun 3, 2025, 9:10:51 AMJun 3
to min...@googlegroups.com
Good news !

The final fix will be included in the next release planned for release before the end of June.

Thanks for taking the time to test.


Reply all
Reply to author
Forward
0 new messages