When i'm running cardano node by launching this script ./connect-to-mainnet, and then calling any api like ( https://myip:8090/api/v1/node-info with certificates) on any different ip than localhost, I'm getting this error. I'm also providing .cert and .pem certificate generated under state-wallet-mainnet when calling api but i think this certificate is only valid for localhost. more over tried to generate certificate for other host using stack --exec 509 tool but it's also not working and get same error.
So, how can i generate a certificate for a different host other than local?
When i'm running cardano node by launching this script ./connect-to-mainnet, and then calling any api like ( https://myip:8090/api/v1/node-info with certificates) on any different ip than localhost, I'm getting this error. I'm also providing .cert and .pem certificate generated under state-wallet-mainnet when calling api but i think this certificate is only valid for localhost. more over tried to generate certificate for other host using stack --exec 509 tool but it's also not working and get same error. So, how can i generate a certificate for a different host other than local?