Root certificate authority works windows/linux but not mac osx - (malformed)
Posted
by
AKwhat
on Server Fault
See other posts from Server Fault
or by AKwhat
Published on 2014-05-22T18:24:07Z
Indexed on
2014/05/31
3:30 UTC
Read the original article
Hit count: 250
I have created a self-signed root certificate authority which if I install onto windows, linux, or even using the certificate store in firefox (windows/linux/macosx) will work perfectly with my terminating proxy.
I have installed it into the system keychain and I have set the certificate to always trust.
Within the chrome browser details it says "The certificate that Chrome received during this connection attempt is not formatted correctly, so Chrome cannot use it to protect your information. Error type: Malformed certificate"
I used this code to create the certificate:
openssl genrsa -des3 -passout pass:***** -out private/server.key 4096
openssl req -batch -passin pass:***** -new -x509 -nodes -sha1 -days 3600 -key private/server.key -out server.crt -config ../openssl.cnf
If the issue is NOT that it is malformed (because it works everywhere else) then what else could it be? Am I installing it incorrectly?
Update
I tried changing the certificate attributes, but to no avail:
openssl genrsa -des -passout pass:***** -out private/server.key 2048
openssl req -batch -passin pass:***** -new -x509 -nodes -sha256 -days 3600 -key private/server.key -out server.crt -config ../openssl.cnf
© Server Fault or respective owner