SiteError.comYour friendly guide to HTTP status codes
Status CodesBlog
  1. Home
  2. NGINX
  3. 495 SSL Certificate Error

495 SSL Certificate Error

🎫
495
SSL Certificate Error

Example HTTP Response

HTTP Response
HTTP/1.1 495 SSL Certificate Error
Content-Type: text/html

<html><body>SSL certificate error</body></html>
Common Causes
  • Client SSL certificate is expired
  • Client certificate is self-signed and not trusted
  • Client certificate was revoked
  • Certificate chain validation failed
  • Malformed or corrupted client certificate
Technical Details

What does this mean?

Your security badge is fake! The server checked your SSL certificate and something's fishy. Expired? Forged? Either way, you're not getting in with that credential!

Technical Definition

The client provided an SSL certificate that was invalid or could not be verified by the nginx server.

Code Snippets

Ready-to-use code for returning this HTTP status in your application:

Node.js
// Express.js
app.get('/example', (req, res) => {
  res.status(495).json({
    error: 'SSL Certificate Error',
    message: 'Your error message here'
  });
});

// Native HTTP
const http = require('http');

http.createServer((req, res) => {
  res.writeHead(495, { 'Content-Type': 'application/json' });
  res.end(JSON.stringify({
    error: 'SSL Certificate Error',
    message: 'Your error message here'
  }));
}).listen(3000);
Related Status Codes
🔐401Unauthorized🚫403Forbidden🎟️496SSL Certificate Required

495 SSL Certificate Error FAQ

What causes a 495 SSL Certificate Error error?

Client SSL certificate is expired. Client certificate is self-signed and not trusted. Client certificate was revoked. Certificate chain validation failed. Malformed or corrupted client certificate.

511 Network Authentication Required496 SSL Certificate Required

Popular Status Codes

  • 200 OK
  • 301 Moved Permanently
  • 302 Found
  • 400 Bad Request
  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not Found
  • 500 Internal Server Error
  • 502 Bad Gateway
  • 503 Service Unavailable

Compare Codes

  • 401 vs 403
  • 301 vs 302
  • 404 vs 410
  • 500 vs 502
  • Compare any codes →

Categories

  • Informational
  • Success
  • Redirection
  • Client Error
  • Server Error
  • NGINX
  • Cloudflare
  • AWS ELB
  • Microsoft IIS

Tools

  • Cheat Sheet
  • Status Code Quiz
  • URL Checker
  • API Playground
  • Blog

© 2026 SiteError.com. All rights reserved.