X
Tap here to go to the mobile version of the site.

Fóram Tacaíochta

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

What causes Error code: SEC_ERROR_BAD_DER?

Postáilte

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.

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.

Tuilleadh mionsonraí faoin chóras

Breiseáin Shuiteáilte

  • Shockwave Flash 32.0 r0

Feidhmchlár

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Tuilleadh Eolais

philipp
  • Top 25 Contributor
  • Moderator
5320 réiteach 23502 freagra

Freagra Cabhrach

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

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

Úinéir na ceiste

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.

Ok, that's a good start. Indeed the cert is in pem format on the server, but that was what the [https://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslcertificatefile 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.