title: Even tho I turned on SSL in Nginx it does not work?
body: <p>I am trying to setup an NGINX server that has SSL and also does client verification. For some reason it's not working. If I try out the certificates between 2 spring boot applications, they work. So certificates are good. I have the following nginx config file:</p>
  <pre><code>#user  nobody;
  worker_processes  1;
  
  #pid        logs/nginx.pid;
  
  
  events {
      worker_connections  1024;
  }
  
  
  http {
      include       mime.types;
      default_type  application/octet-stream;
  
  
      sendfile        on;
  
      keepalive_timeout  65;
  
      server {
          listen 443 ssl;
          
          ssl_certificate D:/nginx/server.cer;
          ssl_certificate_key D:/nginx/server.pkcs8;
          ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
          
          ssl_client_certificate D:/nginx/client.cer;
          ssl_verify_client on;
  
          
          server_name localhost;
          
          location /api/user {
              proxy_pass http://localhost:8443/api/user ;
          }
          
          location /api/key {
              proxy_pass http://localhost:8443/api/key ;
          }
      }
  }
  </code></pre>
  <p>If I change this <code>ssl_verify_client on;</code> to <code>ssl_verify_client off;</code> I get the result I expect. So the rest of the configurations should be fine... I started NGINX today, would like to get some help.</p>
  <p>Certificates are created by me. No issuer, no certificate chain. Self signed certificates.</p>
  <p>Thanks in advance.</p>