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

164
Visualizações
Configure Client Side SSL in Javascript

Is it possible to configure a self signed certificate inside of a Javascript app on the client side to verify a remote API?

My issue: I'm building an Office-JS App in Excel and it can only get/post etc to https URLs. My company SSL Cert is giving me errors during startup about "Revocation information unavailable". This doesn't happen in browsers though, only when using the Add-In. Rather then try to make changes company wide SSL, I'd like to configure the WebServer that hosts my JS Files for the Add-In w/ a self signed SSL certificate and have it act as an API proxy. All my requests from Office-JS would be to the same https domain the files are hosted in which would then reach out to other APIs over whatever method but not be constrained by Office-JS policies.

I've been able to generate SSL certs and import them to trusted store and then get via Axios, but I don't want to have to install the cert on each client, I'd like it to be stored inside the JS code that they load (I guess this initial load would have to be over http, then the requests would be https w/ the loaded certs?).

I've read a lot about using https agent in NodeJS but I think that is all server side stuff, I don't really use/understand NodeJS in the server sense, I just use it for NPM, but I use ISS in Visual Studio for Dev and prod I'll probably try and use NGinx as my Webserver on a linux host.

Is this even possible or am I just running myself in circles? Do I need to have the SSL installed into Cert Store on clients?

about 4 years ago · Juan Pablo Isaza
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