Também estou com um problema de erro 500. No aplicativo de exemplo do acbr da certinho na minha aplicação da o erro 500 já copiei a open ssl da pasta do acbr para a pasta do exe e não resolveu.
Log da minha aplicação:
17/02/23 09:38:59:125 - Atribuindo PSP: TACBrPSPSicoob, Nome: ACBrPSPSicoob
17/02/23 09:38:59:125 - CriarCobrancaImediata( )
17/02/23 09:38:59:125 - PrepararHTTP
17/02/23 09:39:05:693 - Autenticar
17/02/23 09:39:06:462 - LimparHTTP
17/02/23 09:39:08:807 - TransmitirHttp( POST, https://auth.sicoob.com.br/auth/realms/cooperado/protocol/openid-connect/token )
17/02/23 09:39:09:634 - ConfigurarHTTP
17/02/23 09:39:09:899 - ConfigurarHeaders( POST, https://auth.sicoob.com.br/auth/realms/cooperado/protocol/openid-connect/token )
17/02/23 09:39:12:806 - Req.Headers:
Accept-Encoding: gzip, compress, deflate
client_id: d1dcb8ed-2a93-4e85-b621-cafafb8f69c6
17/02/23 09:39:16:199 - Req.Body:
grant_type=client_credentials&client_id=d1dcb8ed-2a93-4e85-b621-cafafb8f69c6&scope=cob.write%20cob.read%20cobv.write%20cobv.read%20pix.write%20pix.read
17/02/23 09:39:17:235 - ResultCode: 500 -
17/02/23 09:39:17:235 - Resp.Body:
17/02/23 09:39:20:011 - EACBrPixHttpException: Erro HTTP: 500, Metodo: GET, URL: https://auth.sicoob.com.br/auth/realms/cooperado/protocol/openid-connect/token
Log do Acbr:
17/02/23 09:40:55:714 - CriarCobrancaImediata( )
17/02/23 09:40:55:715 - PrepararHTTP
17/02/23 09:40:55:716 - Autenticar
17/02/23 09:40:55:716 - LimparHTTP
17/02/23 09:40:55:716 - TransmitirHttp( POST, https://auth.sicoob.com.br/auth/realms/cooperado/protocol/openid-connect/token )
17/02/23 09:40:55:717 - ConfigurarHTTP
17/02/23 09:40:55:717 - ConfigurarHeaders( POST, https://auth.sicoob.com.br/auth/realms/cooperado/protocol/openid-connect/token )
17/02/23 09:40:55:717 - Req.Headers:
Accept-Encoding: gzip, compress, deflate
client_id: d1dcb8ed-2a93-4e85-b621-cafafb8f69c6
17/02/23 09:40:55:718 - Req.Body:
grant_type=client_credentials&client_id=d1dcb8ed-2a93-4e85-b621-cafafb8f69c6&scope=cob.write%20cob.read%20cobv.write%20cobv.read%20pix.write%20pix.read
17/02/23 09:40:56:292 - ResultCode: 200 - OK
17/02/23 09:40:56:293 - Resp.Body:
{"access_token":"eyJhbGciOiJSUzI1NiIsInR5cC","expires_in":300,"refresh_expires_in":0,"token_type":"Bearer","not-before-policy":0,"scope":"cobv.write cobv.read pix.read cob.read pix.write cob. Write"}