You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I should be able to request client certificate, but still allow the connection if the certificate is not provided.
In Node.js I can have the desired behaviour by specifying these options to HTTPS server,
requestCert: true,
rejectUnauthorized: false,
The text was updated successfully, but these errors were encountered:
From an article referenced below, here is a quote:
"Then we tell it to accept requests with no valid certificate. We need this to handle invalid connections as well (for example to display an error message), otherwise, they would just get a cryptic HTTPS error message from the browser (ERR_BAD_SSL_CLIENT_AUTH_CERT to be precise)"
I should be able to request client certificate, but still allow the connection if the certificate is not provided.
In Node.js I can have the desired behaviour by specifying these options to HTTPS server,
The text was updated successfully, but these errors were encountered: