Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Certificate key usage inadequate for attempted operation. Error code: SEC_ERROR_INADEQUATE_KEY_USAGE

I am provided CA Signed Server certificate, chain certificate and private key. From those, I created keystore using open SSL and secured the web application (HTTPS configuration in server.xml). However, when I tried to access web application via browser(Firefox), it gives out below error.

Secure Connection Failed
Certificate key usage inadequate for attempted operation. Error code: SEC_ERROR_INADEQUATE_KEY_USAGE

Certificates were initially in ".crt" and I tried after converting them to ".cer" as well. Still, the error complains something about "Key Usage". I ran following command to check certificate key usage and screenshot is attached.

openssl x509 -in ServerCertificate.cer -text -noout

enter image description here

Below is from Chain certificate;

enter image description here

Your help in resolving this issue is highly appreciated. [PS: Before configuring CA signed certificates, I created self signed certs and that configuration worked with no issue]

like image 689
Anuruddha Avatar asked Jun 08 '17 04:06

Anuruddha


1 Answers

Delete the cert9.db , cert_override.txt files from your firefox profile.

like image 167
ChAnDu353 Avatar answered Sep 19 '22 21:09

ChAnDu353