Joe P
Joe P

Reputation: 170

Firefox SEC_ERROR_INADEQUATE_CERT_TYPE with NO Enhanced Key Usage

I have spent my entire afternoon trying to create a CA that Firefox will work with, every attempt has worked with:

... but not Firefox 54.0.1 which just consistently throws SEC_ERROR_INADEQUATE_CERT_TYPE and refuses to talk to the server. I've removed the Enhanced Key Usage of All Application Policies from Root CA as per https://bugzilla.mozilla.org/show_bug.cgi?id=1049176, but it still doesn't work..... What am I missing? I'm out of ideas....

Latest attempt

Apologies for this massive section, but this is everything Windows will tell me about the current attempt to make this work; hopefully someone will spot what the issue is!!!

Root CA

Issuing CA

Test Web Server Certificate

Why is it always Firefox that causes problems??? Even Edge works.....

Upvotes: 6

Views: 10739

Answers (3)

Big-G
Big-G

Reputation: 1

Try generating a new test CA with the the extended usage field excluded. Then generate a new ssl cert. Having the "Enhanced Key Usage: Any Purpose (2.5.29.37.0)" in the CA is not good practice.

Upvotes: 0

Alex Lazar
Alex Lazar

Reputation: 1

Had the same issue in a local environment. I simply stopped trying to access localhost with https:// & I accessed it with http://

Upvotes: -3

Joe P
Joe P

Reputation: 170

I have found the issue, I had accidentally included the Authority Key Identifier extension on the Root CA, which upset Firefox, presumably as it pointed to itself, all the other browsers must of spotted it shouldn't be there and ignored it!

Upvotes: 4

Related Questions