amidaware / rmmagent

Tactical RMM Agent
https://github.com/amidaware/tacticalrmm
Other
124 stars 71 forks source link

Cannot install Linux Agent when using own CA #26

Closed robinrosenberger closed 1 year ago

robinrosenberger commented 1 year ago

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?

dinger1986 commented 1 year ago

Are you using code signing?

robinrosenberger commented 1 year ago

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

silversword411 commented 1 year ago

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