Skip to content

Generation of the SelfSignedCertificate support only CN,O,C ??? #112

Open
@robertgregor

Description

@robertgregor

Hi,
I am trying to generate the Self signed certificate, which will be trusted by the browser (Chrome, IE). I am able to generate the certificate, copied the certificate to the trusted root certificate store. But the browsers are still telling me, that the certificate can't be trusted.
Seems like, that it is because of missing SAN -> subjectAltName field in the certificate.
But when I tried to put it, the certificate is not generated and return the length 0.

Seems to me, that even, when I tried to add some other standard fields but, if something else is added to this list, CN=pirsensor.local,O=Remote%20Home,C=CZ

like i.e. CN=pirsensor.local,O=Robert,C=CZ,L=Prague it will always generate the certificate with the key 0 and signature 0, so no certificate generation.

And seems like, that the browser will accept the certificate only if the subjectAltName=pirsensor.local

Does anyone has any experience with it?

Robert

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions