Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

atualização do certificado de encriptação de produção #119

Merged
merged 1 commit into from
Aug 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions examples/Fake/v1_2_4/FaketestEnviaNormal.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,27 +80,27 @@
$content = file_get_contents('expired_certificate.pfx');
$password = 'associacao';
$certificate = Certificate::readPfx($content, $password);

//usar a classe Fake para não tentar enviar apenas ver o resultado da chamada
$soap = new SoapFake();
//desativa a validação da validade do certificado
//desativa a validação da validade do certificado
//estamos usando um certificado vencido nesse teste
$soap->disableCertValidation(true);

$evento = Event::evtAberturaeFinanceira($configJson, $std);

//instancia a classe responsável pela comunicação
$tools = new Tools($configJson, $certificate);
//carrega a classe responsável pelo envio SOAP
//nesse caso um envio falso
$tools->loadSoapClass($soap);

//executa o envio
$response = $tools->enviar([$evento], $tools::MODO_NORMAL);

//retorna os dados que serão usados na conexão para conferência
echo FakePretty::prettyPrint($response, '');

} catch (\Exception $e) {
echo $e->getMessage();
}
Binary file modified storage/efinanc_web.cer
Binary file not shown.
45 changes: 21 additions & 24 deletions storage/efinanc_web.pem
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@

subject=/C=BR/O=ICP-Brasil/OU=videoconferencia/OU=33683111000107/OU=Aplicacao A1/OU=ARSERPRO/OU=Autoridade Certificadora do SERPRO Final SSL/CN=APP07586.PRODUCAO.EFINANCEIRA.GOV.BR
issuer=/C=BR/O=ICP-Brasil/OU=CSPB-1/OU=Servico Federal de Processamento de Dados - SERPRO/CN=Autoridade Certificadora do SERPRO Final SSL
-----BEGIN CERTIFICATE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sr6lS9YWA5C1TwkfPMZyoOeaA4b
BODTfPORbKGon++op8KMhJ9RquJkeHSDFxpvT5A2akAz30s0S0NHkp25Lkey45gB
krTRpKhiyFMOnVsv1NdMHtXqgvHOYTSJwRcp5SJeGSQ4WdoQgLhKkvKLjiJqlJJJ
HogZUm3XndcEGV25zJFiy6msFpqKOmNxhywK2exEWfYgkMkj1MLP/65SisDDFl/s
Ow7S1fNHH6ePPPUioZa3kHaa6WcCdlv+luH/LY6cQyBazyk+UBU+opwYJ3ObwQ7P
4+raUxqNwZsXaOPkZpvm9kEDKkM0Iju1eBRwHFLCyHK4niPkW/HkOV/EVB0vA+2z
8sGuFjmhOQeE6EXu5TU3Jerxn1rGu+sb
-----END CERTIFICATE-----
Binary file added storage/oldefinanc_web.cer
Binary file not shown.
47 changes: 47 additions & 0 deletions storage/oldefinanc_web.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@

subject=/C=BR/O=ICP-Brasil/OU=videoconferencia/OU=33683111000107/OU=Aplicacao A1/OU=ARSERPRO/OU=Autoridade Certificadora do SERPRO Final SSL/CN=APP07586.PRODUCAO.EFINANCEIRA.GOV.BR
issuer=/C=BR/O=ICP-Brasil/OU=CSPB-1/OU=Servico Federal de Processamento de Dados - SERPRO/CN=Autoridade Certificadora do SERPRO Final SSL
-----BEGIN CERTIFICATE-----
MIIHxDCCBaygAwIBAgINAL6CNekCeF2jsZVw4TANBgkqhkiG9w0BAQsFADCBpzEL
MAkGA1UEBhMCQlIxEzARBgNVBAoMCklDUC1CcmFzaWwxDzANBgNVBAsMBkNTUEIt
MTE7MDkGA1UECwwyU2VydmljbyBGZWRlcmFsIGRlIFByb2Nlc3NhbWVudG8gZGUg
RGFkb3MgLSBTRVJQUk8xNTAzBgNVBAMMLEF1dG9yaWRhZGUgQ2VydGlmaWNhZG9y
YSBkbyBTRVJQUk8gRmluYWwgU1NMMB4XDTIyMDgwMjExMDQyMloXDTIzMDgwMjEx
MDQyMlowgeYxCzAJBgNVBA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