Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

186
Vistas
How to establish a secure AMQP connection in Windows?

I want to establish a TLS-encrypted connection to an AMQP-broker in Windows using Javascript. I don't want to use a client certificate, I only need to accept the brokers certificate, which is signed by a standard certificate authority.

My reference is code from a program running on a Ubuntu system, which looks like this:

var options = {

    ca: [fs.readFileSync("/etc/ssl/certs/ca-certificates.crt")]
};

amqp.connect('amqps://myBroker', options, function(error, connection) {
    
    if (error)
        throw error;

    // Connection established
});

The problem is that, from what I've read, there is no equivalent to the file /etc/ssl/certs/ca-certificates.crt in Windows. Instead, the CA certificates are stored in a registry entry and you need special tools to access it. I need to do it programmatically though. Also, a lot of the information is really old (including related questions on this site), so I don't know how trustworthy it is .

Has anyone done this before? Or knows a good and up-to-date source?

Edit: So there is a command line tool to manage certificates (Certmgr.exe), but that is installed with Visual Studio, so I can't rely on it. The only tool that is installed with Windows itself (Certmgr.msc) is a GUI tool.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda