I'm using Nest JS to run a local service which will send some data to an online service. We don't have a SSL certificate for now and the requests aren't working due to that. How can I configure Axios to accept the connection without a certificate in Nest JS? I've seen some instructions in node but they did not translate well to the Nest JS implementation of Axios.

To alow axios to accept all certificates and ignore CertificateError You need to configure axios to use a custom agent and set rejectUnauthorized to false for that agent
// At instance level
const instance = axios.create({
httpsAgent: new https.Agent({
rejectUnauthorized: false
})
});
instance.get('https://example.com/API/test');
// At request level
const agent = new https.Agent({
rejectUnauthorized: false
});
axios.get('https://example.com/API/test', { httpsAgent: agent });