Chrome / firefox problem with self signed certificat

Problem on Linux Ubuntu when calling a website with self signed Certiificat:

Error Messages:

Chrome:

“Verbindung zur echten Website kann nicht hergestellt werden …”

“cert_pkixverifycert for failed error=-8101”

Firefox:

“Certificate type not approved for application. (Error code: sec_error_inadequate_cert_type)”

reason:

Servers certificat type is “email, client”

Fix:

openssl.conf

from

nsCertType = client, email

to

nsCertType = server

and then create a new sign a new certificat for this server.