How to use rpc api using testnet or mainnet?

I have followed the following step mention in Documents:

I have install wallet using comand:

nix-build -A connectScripts.mainnet.wallet -o "./launch_$(date -I)_$(git rev-parse --short HEAD)"

Now, i am confused i can i performed rpc api call because when i am trying the follweing command i m getting error:

curl https://localhost:8090/api/v1/node-info
Generate error : curl: (35) gnutls_handshake() failed: Unknown certificate

curl https://localhost:8090/api/v0/node-info
Generate error :curl: (35) gnutls_handshake() failed: Error in the push function.

You would need to specify SSL certificates. API documentation has an example:

I have problem over here

On latest master you can run ./state-wallet-mainnet/curl api/v1/node-info for example to GRT the node-info endpoint in v1 api. If you run that with sh -x prefixing the command it will show you where the wrapper is getting client certificates.