[GH-ISSUE #26] Cannot install Linux Agent when using own CA #94

Closed
opened 2026-03-14 01:36:02 +03:00 by kerem · 3 comments
Owner

Originally created by @robinrosenberger on GitHub (Nov 10, 2022).
Original GitHub issue: https://github.com/amidaware/rmmagent/issues/26

I'm trying to install the linux agent, using the command line:
./rmmagent -m install -api=http://api.mylocaldomain.lokal -cert ./MY-CA-CERT.pem -client-id 1 -site-id 1 -auth XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX -nomesh
It fails, saying:
Get "https://api.mylocaldomain.lokal/api/v3/installer/": x509: certificate signed by unknown authority
even though I have provided the CA-cert.
Is this a bug or am I using it wrong?

Originally created by @robinrosenberger on GitHub (Nov 10, 2022). Original GitHub issue: https://github.com/amidaware/rmmagent/issues/26 I'm trying to install the linux agent, using the command line: `./rmmagent -m install -api=http://api.mylocaldomain.lokal -cert ./MY-CA-CERT.pem -client-id 1 -site-id 1 -auth XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX -nomesh` It fails, saying: `Get "https://api.mylocaldomain.lokal/api/v3/installer/": x509: certificate signed by unknown authority` even though I have provided the CA-cert. Is this a bug or am I using it wrong?
kerem 2026-03-14 01:36:02 +03:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@dinger1986 commented on GitHub (Nov 10, 2022):

Are you using code signing?

<!-- gh-comment-id:1310163427 --> @dinger1986 commented on GitHub (Nov 10, 2022): Are you using code signing?
Author
Owner

@robinrosenberger commented on GitHub (Nov 10, 2022):

No code signing. I also tried with LetsEncrypt, that works fine using the same syntax

<!-- gh-comment-id:1310203467 --> @robinrosenberger commented on GitHub (Nov 10, 2022): No code signing. I also tried with LetsEncrypt, that works fine using the same syntax
Author
Owner

@silversword411 commented on GitHub (Nov 10, 2022):

Using a .local domain and non-public CA is unsupported because it primarily breaks NATS without a lot of local custom tweaking. Unless there's a policy reversal there are no changes in the pipeline to fix this

<!-- gh-comment-id:1310239642 --> @silversword411 commented on GitHub (Nov 10, 2022): Using a .local domain and non-public CA is unsupported because it primarily breaks NATS without a lot of local custom tweaking. Unless there's a policy reversal there are no changes in the pipeline to fix this
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rmmagent#94
No description provided.