Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

187
Visualizações
Problem implementing SSL/TLS Certificate Verify Message

I am trying to implement Certificate Verify based on the RFC https://datatracker.ietf.org/doc/html/rfc5246#section-7.4.8

it states specifically, that I need to concatenate all the handshake messages prior to this moment then it should be hashed and signed by private key.

I am looking at SSL communication in the packet capture and peforming

const crypto = require('crypto')
const fs = require('fs')

let clientKey = fs.readFileSync(`endpointKey.pem`)

let raw = 'hexdump of all handshake_messages prior to this point'
let rawBuffer = Buffer.from(raw.match(/.{2}/g).map(value => {return parseInt(value, 16)})))

console.log(crypto.sign('RSA-SHA256', rawBuffer, clientKey))

and the result is different from what was calculated on the endpoint device (I am using the same private and public keys as endpoint).

Please advise, appreciate the help in advance.

about 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda