Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

What causes Error code: SEC_ERROR_BAD_DER?

  • 2 replies
  • 1 has this problem
  • Last reply by 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.

All Replies (2)

more options

hi, this error code means "A certificate is not properly encoded according to ASN.1 (DER) encoding" according to

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.