Add ssl_verify_depth 2; to nginx example