Chrome not accepting generate_cert.go self-signed SSL certificate

812 views
Skip to first unread message

Alex Howard

unread,
Mar 13, 2015, 7:19:07 AM3/13/15
to golan...@googlegroups.com

I made a certificate with the generate_cert.go file in the http package, and it works fine on firefox, but chrome wont accept it (with no options to allow), and I cant find it in the certificates settings in chrome to manually allow the certificate either.

I used the -ca=true flag when creating the certificate.

Does anyone know if there is something I can modify when creating the certificate to make it work in chrome?

Thanks,

Alex Howard

unread,
Mar 13, 2015, 10:28:29 AM3/13/15
to golan...@googlegroups.com

Seems this issue is a chrome (linux) issue, as the windows chrome is verified working.

I thought it was a Go error because on linux I get this error NET::ERR_CERT_INVALID

Alex Howard

unread,
Mar 13, 2015, 10:30:07 AM3/13/15
to golan...@googlegroups.com

On windows it gives this error, which can be mitigated by accepting the certificate: NET::ERR_CERT_AUTHORITY_INVALID

steven...@gmail.com

unread,
Dec 28, 2016, 2:50:15 PM12/28/16
to golang-nuts
Hi - 

Did you ever resolve this on linux? I'm getting the same error under the same conditions. 

Thanks
Steve

Darren Hoo

unread,
Dec 29, 2016, 3:04:50 AM12/29/16
to golang-nuts
Try starting chrome from command line with option --ignore-certificate-errors ?

Marcus Franke

unread,
Dec 29, 2016, 6:00:51 AM12/29/16
to Darren Hoo, golang-nuts
Chrome, like the other browsers use your systems certificate store. Just import the root CA's certificate and you will have a valid chain of trust.

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages