Without a CN the self signed certificate is considered invalid by chrome. You can check with: openssl x509 -in cert.pem -subject -noout