In this case, I will show you how I made the call to get a token from SERPRO’s Integra Contador service.
https://apicenter.estaleiro.serpro.gov.br/documentacao/api-integra-contador/pt/quick_start/
The .pfx and .p12 files are containers, which means that there are other files inside them, such as zip files. That is why it is necessary to extract the contents of the pfx files.
1 - extract the certificate and private key files from the pfx file - GPT Chat does this for you. Upload the file and ask for extraction or use another extraction method.
2 - Create an API call in bubble with the SSL certificate authentication type
3 - Open the certificate file with notepad and paste it into Certificate file content
4 - Open the private file with notepad and paste the content into Key File Content
5 - Configure the rest of the call according to the documentation
Integra Contador, SERPRO, Receita Federal