X
Thinta lapha ukuze uye kuveshini yamakhalekhukhwini kusayithi.

Isithangami Sabeseki

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

What causes Error code: SEC_ERROR_BAD_DER?

Kuphostiwe

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.

Eminye Imininingwane Yohlelo

Fakela amapulagi

  • Shockwave Flash 32.0 r0

Isisebenziso

  • I-ejenti Engumsebenzisi: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Eminye Imininingwane

philipp
  • Top 25 Contributor
  • Moderator
5341 izisombululo 23596 izimpendulo
Kuphostiwe

Impendulo Ewusizo

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

Umnikazi wombuzo

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.