on-internet
← Community

nginx ssl_trusted_certificate directive not working

Stack Overflow ·

When I try to start the nginx server with this configuration I get an error nginx: [emerg] no ssl_client_certificate for ssl_client_verify My Configuration looks like # HTTPS server server { listen 4443; server_name localhost; ssl on; ssl_certificate /home/user/conf/ssl/server.pem; ssl_certificate_key /home/user/conf/ssl/server.pem; ssl_protocols TLSv1.2; ssl_verify_client optional; ssl_trusted_certificate /home/user/ssl/certs/certificate_bundle.pem; include conf.d/api_proxy.conf; } As per the error, I should use ssl_client_certificate directive but as per the documentation if I don't want to

Comments

Sign in or sign up to comment and upvote.

No comments yet.