Frodo (ForgeROck DO)

Welcome to the Frodo (ForgeROck DO) project space.
Frodo is a JavaScript library and an accompanying command line interface (CLI) to manage ForgeRock platform deployments. Frodo supports Identity Cloud tenants, ForgeOps deployments, and classic deployments.

Use this space to gain insights about Frodo, ask questions, and provide feedback on usage and development.

I am using Frodo CLI from my work computer. when i try to add connection, I am getting this error: unable to get local issuer certificate

C:\frodo-win-2.0.0-19>frodo conn add https://openam-xxxx-xxx.forgeblocks.com/am username password
(node:45684) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unhandledRejection listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(Use frodo --trace-warnings ... to show where the warning was created)
unable to get local issuer certificate

How can i resolve this issue?

Hi @nabburi5992,

I believe you may have gotten answers through direct channels but wanted to also share them here:

The unable to get local issuer certificate error appears to be caused by an untrusted certificate or chain. Frodo supports the -k / --insecure option for that:

  -k, --insecure        Allow insecure connections when using SSL/TLS. Has no effect when using a network proxy for https (HTTPS_PROXY=http://<host>:<port>), in that case the proxy must
                        provide this capability. (default: Don't allow insecure connections)

The other warning message (MaxListenersExceededWarning) was caused by a change introduced to the 2.x (main) branch recently and has been fixed in the latest pre-release. I had created this issue on github for tracking.

Please let me know if this helps.

1 Like

I’ve downloaded the latest version of Frodo and for some reason I get a 401 while trying to connect to my instance.
Do I need to set something up to be able to access via CLI? Thanks!

Anybody can assist? Thanks!