ssl - requestClientCertificate error on browser -
i try request ssl certificate, doesn't work...
when this:
void main() { securesocket.initialize( database: './bin/security', password: 'dartdart' ); httpserver.bindsecure('127.0.0.1', 8443, certificatename: 'dart').then ((server) => server.listen((req) { req.response.write('hello'); req.response.close(); })); }
it's ok, warning message certificate, proceed anyway, 'hello'.
when add requestclientcertificate flag in bindsecure, browser ask me choose certificate list, choose one, on browser unable make secure connection server. may problem server, or may requiring client authentication certificate don't have. error code: err_ssl_protocol_error
no error server side.
i miss ?
i'm on mac os marverick.
try installing certificate chrome since said it's self-signed.
chrome://settings show advanced settings... https/ssl -> manage certificates... import... (follow wizard)
Comments
Post a Comment