amidaware / rmmagent

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

Cannot install Linux Agent when using own CA #26

Closed robinrosenberger closed 2 years ago

robinrosenberger commented 2 years 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 2 years ago

Are you using code signing?

robinrosenberger commented 2 years ago

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

silversword411 commented 2 years 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