{"library":"passport-client-cert","type":"library","category":null,"description":"Passport.js strategy for TLS client certificate authentication. Version 2.1.0 is the latest stable release (as of 2023). The package enables mutual TLS authentication directly in Node.js applications without requiring a reverse proxy. It provides a verify callback that receives the parsed client certificate object from Node's TLS socket. Key differentiators: first-class support for the standard Passport.js pattern (serialization/deserialization, req.logIn, etc.), ability to pass request object to verify callback, and TypeScript type definitions shipped. Alternative to handling client certificates manually via tls.getPeerCertificate. Release cadence is low; updates are infrequent. Works only with Node.js HTTP/HTTPS servers (not Express middleware alone). Requires a TLS-enabled server with requestCert and rejectUnauthorized options set.","language":"javascript","status":"active","version":"2.1.0","tags":["javascript","pki","passport","ssl","tls","certificate","cert","authentication","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install passport-client-cert","imports":["import { Strategy } from 'passport-client-cert'","import ClientCertStrategy from 'passport-client-cert'","import { Strategy as ClientCertStrategy } from 'passport-client-cert'"]},{"cmd":"yarn add passport-client-cert","imports":[]},{"cmd":"pnpm add passport-client-cert","imports":[]}],"homepage":"https://github.com/ripjar/passport-client-cert","github":"https://github.com/ripjar/passport-client-cert","docs":null,"changelog":null,"pypi":null,"npm":"passport-client-cert","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}