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

484
Visualizações
NET::ERR_CERT_DATE_INVALID on local development (xampp)

I'm trying to get the NET::ERR_CERT_DATE_INVALID error fixed for local development.

I'm working with a xampp setup (PHP 7.4, Windows 10). After trying several tutorials on self signed certificates, I'm now on a point where I'm stucked.

What I've done so far

  • Creating a self signed certificate, using openssl in xampp like this:

    set OPENSSL_CONF=C:\xampp\php\extras\openssl\openssl.cnf

    openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt

I successfully created the server.crt and server.key files and put them in the correct directory C:\xampp\apache\conf\[ssl.crt]/[ssl.key]

  • Import it using this tutorial: Import a Self-Signed Certificate on a Windows Host

I've also tried to download the cacert.pem bundles from CA certificates and uncomment the necessary lines in my php.ini file.

I've always restarted my server afterwards, but none of the above methods are working.

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

First, open the certificate from the browser and see if the browser presents you the newly applied certificate. If it is the old one, you can try following procedures.

  1. Go and have a look at inside of the Apache configuration file whether you've replaced the correct certificate files. Maybe your virtual host of the domain is not using the .crt file you're replaced.

  2. Open the incognito mode of the browser and open the website. Sometimes the certificates get cached. In case it's the caching of the browser, clear the cache and try again.

over 4 years ago · Santiago Trujillo Relatório
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