Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certificate missing "Subject Alternative Name" #95

Open
JakeUrban opened this issue Dec 12, 2019 · 6 comments
Open

Certificate missing "Subject Alternative Name" #95

JakeUrban opened this issue Dec 12, 2019 · 6 comments

Comments

@JakeUrban
Copy link

JakeUrban commented Dec 12, 2019

The provided self-signed certificate doesn't have a subjectAlternativeName field, so Chrome rejects it even if its been marked as "trusted". See this Google Help page for a description of the problem.

Here is what I see after trusting the cert and requesting the page again:
Screen Shot 2019-12-12 at 2 16 19 PM

@metawise
Copy link

metawise commented Apr 3, 2020

Hi Jake,
Did you get chance to solve the problem? I'm facing same situation. :(

@lmarschall
Copy link

lmarschall commented Apr 3, 2020

same issue here, looks like we gonna have to add a certificate on our own, looking forward to find a solution for this this asap

@JakeUrban
Copy link
Author

I created my own certificate, which isn't too difficult. However you would expect the one that comes with this package to work.

@lmarschall
Copy link

Can you provide a way to create your own certificate which works?

Kind of new into this ssl certificate game.

@lmarschall
Copy link

https now working on firefox at least, with self created openssl certificate

@lmarschall
Copy link

got things working on chrome too...

  • create your certificate with windows power shell: New-SelfSignedCertificate -DnsName "localhost" -CertStoreLocation "cert:\LocalMachine\My"
  • place the certificate in the windows mangament console into the trusted root certificate folder
  • export the certificate into pfx file with password
  • follow the guide in the link: https://www.ibm.com/support/knowledgecenter/SSVP8U_9.7.0/com.ibm.drlive.doc/topics/r_extratsslcert.html with openssl console commands
  • extract decrypted key and crt file and provide them as arguments in the runsslserver command

have fun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants