marcus2vinicius
bash
$ openssl genrsa -out meu-chave-privada.pem 2048
$ openssl req -new -x509 -key meu-chave-privada.pem -out meu-certificado.pem -days 365
o certificado seria esse aqui?
eu fiz dessa forma e agora está dando esse erro
bash
marcus@marcus-laptop:~/Documents/projects/senai/api-efi/sdk-node-apis-efi/examples/pix/cob$ node pixCreateCharge.js
TypeError: Cannot read properties of undefined (reading 'response')
at /home/marcus/Documents/projects/senai/api-efi/sdk-node-apis-efi/examples/node_modules/sdk-node-apis-efi/lib/endpoints.js:89:17