Hilfe durchsuchen

What causes Error code: SEC_ERROR_BAD_DER?

  • 2 Antworten
  • 1 hat dieses Problem
  • 74 Aufrufe
  • Letzte Antwort von end.user

more options

I'm trying to setup a CA and create a cert, but when I browse to it, I get "Error code: SEC_ERROR_BAD_DER". Is there a little more info about what this means? I don't know where in my process to look for a problem.

Alle Antworten (2)

more options

hi, this error code means "A certificate is not properly encoded according to ASN.1 (DER) encoding" according to https://wiki.mozilla.org/SecurityEngineering/x509Certs#Error_Codes_in_Firefox

more options

Ok, that's a good start. Indeed the cert is in pem format on the server, but that was what the mod_ssl documentation says to use. Additionally Chrome and IE are seeing the cert just fine. I'll try converting it to der and see if Apache will accept it.