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

Handshake TLS/SSL #60

Open
ananiasfilho opened this issue Jun 8, 2017 · 0 comments
Open

Handshake TLS/SSL #60

ananiasfilho opened this issue Jun 8, 2017 · 0 comments

Comments

@ananiasfilho
Copy link

Fiz alguns teste com os servidores de emissão NFe/NFCe e verifiquei que as versões do SSL diferem de servidor para servidor como exibido abaixo (TLS 1.0/1.1/1.2 SSLv2, etc).

Com a mudança no arquivo processador_nfe.py na linha 171 (https://github.com/aricaldeira/PySPED/blob/master/pysped/nfe/processador_nfe.py#L171) de PROTOCOLO_TLS para PROTOCOLO_TLSv1, foi possível emitir NFe para o Sefaz SP, que utiliza TLS1.2. A pergunta é:
é possível utilizando o PROTOCOLO_TLSv1, conectar em qualquer um dos servidores de SEFAZ que utilizem versões diferentes?

Host Server: nfe.svrs.rs.gov.br

  • SSL connection using TLS1.2 / RSA_AES_128_CBC_SHA256
    =============================
    Host Server: nfe-homologacao.svrs.rs.gov.br
  • SSL connection using TLS1.2 / RSA_AES_128_CBC_SHA256
    =============================
    Host Server: www.sefazvirtual.fazenda.gov.br
  • SSL connection using TLS1.2 / ECDHE_RSA_AES_256_CBC_SHA384
    =============================
    Host Server: hom.sefazvirtual.fazenda.gov.br
  • SSL connection using TLS1.2 / ECDHE_RSA_AES_256_CBC_SHA384
    =============================
    Host Server: www.scan.fazenda.gov.br
    =============================
    Host Server: hom.nfe.fazenda.gov.br
    =============================
    Host Server: www.svc.fazenda.gov.br
  • SSL connection using TLS1.2 / ECDHE_RSA_AES_256_CBC_SHA384
    =============================
    Host Server: hom.nfe.fazenda.gov.br
  • SSL connection using TLS1.1 / ECDHE_RSA_AES_256_CBC_SHA1
    =============================
    Host Server: nfe.svrs.rs.gov.br
  • SSL connection using TLS1.2 / RSA_AES_128_CBC_SHA256
    =============================
    Host Server: nfe-homologacao.svrs.rs.gov.br
  • SSL connection using TLS1.2 / RSA_AES_128_CBC_SHA256
    =============================
    Host Server: www.nfe.fazenda.gov.br
  • SSL connection using TLS1.2 / ECDHE_RSA_AES_256_CBC_SHA384
    =============================
    Host Server: hom.nfe.fazenda.gov.br
  • SSL connection using TLS1.1 / ECDHE_RSA_AES_256_CBC_SHA1
    =============================
    Host Server: nfe.sefaz.am.gov.br
    =============================
    Host Server: homnfe.sefaz.am.gov.br
    =============================
    Host Server: nfe.sefaz.ba.gov.br
  • SSL connection using TLS1.0 / ECDHE_RSA_AES_256_CBC_SHA1
    =============================
    Host Server: hnfe.sefaz.ba.gov.br
  • SSL connection using TLS1.0 / ECDHE_RSA_AES_256_CBC_SHA1
    =============================
    Host Server: homologacao.sefaz.mt.gov.br
  • SSL connection using TLS1.2 / ECDHE_RSA_AES_128_CBC_SHA1
    =============================
    Host Server: nfe.fazenda.ms.gov.br
  • SSL connection using TLS1.2 / DHE_RSA_AES_256_GCM_SHA384
    =============================
    Host Server: homologacao.nfe.ms.gov.br
  • SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
    =============================
    Host Server: nfe.sefaz.pe.gov.br
  • SSL connection using TLS1.0 / RSA_AES_256_CBC_SHA1
    =============================
    Host Server: nfehomolog.sefaz.pe.gov.br
  • SSL connection using TLS1.0 / RSA_AES_256_CBC_SHA1
    =============================
    Host Server: nfe.sefazrs.rs.gov.br
  • SSL connection using TLS1.2 / RSA_AES_128_CBC_SHA256
    =============================
    Host Server: nfe-homologacao.sefazrs.rs.gov.br
  • SSL connection using TLS1.2 / RSA_AES_128_CBC_SHA256
    =============================
    Host Server: nfe.fazenda.sp.gov.br
  • SSL connection using TLS1.2 / RSA_AES_128_CBC_SHA256
    =============================
    Host Server: homologacao.nfe.fazenda.sp.gov.br
  • SSL connection using TLS1.2 / ECDHE_RSA_AES_256_CBC_SHA384
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant