Nginx Kerberos Authentication

734 Views Asked by At

The CDH Solr admin page is configured with Kerberos authentication so it cannot be access in Web browser.

I plan to use Nginx as a proxy service to act Kerberos authentication and redirect the web request to Solr admin page.

Already used the spnego module 'https://github.com/stnoonan/spnego-http-auth-nginx-module'. And set the conf file like below.

location / {
auth_gss on;
auth_gss_realm EXAMPLE.ORG;
auth_gss_service_name "HTTP/test.example.org";
auth_gss_keytab /etc/krb5.keytab;
return 301 xxxxx;

But it doesn't work. The web page still shows 403. Does anyone know how to solve this problem?

0

There are 0 best solutions below