On Sep 27, 9:58 am, Nikolay Shopik <[email protected]> wrote:
> Hi,
>
> I wounder how correctly generate keytabs for virtual hosts in Apache?
>  From what I read, most cases suggest create keytab for HTTP/hostname
> where is hostname is actual hostname of machine not virtual hostname.
> Error logs show these messages:
> gss_accept_sec_context() failed: Unspecified GSS failure.  Minor code
> may provide more information (, )
>
> I've tried to generate keytab for virtual hostname only, this is of
> course not work.
> gss_acquire_cred() failed: Unspecified GSS failure.  Minor code may
> provide more information (, Key table entry not found)
> if I change hostname to match virtualhost everything start working just
> fine.
>
> So what configuration I need to make virtual hosts to work with Kerberos?

You should always use the hostname that is typed in the browser.
Browsers always use the hostname from the URL to request the ticket
from KDC.   If you use your actual server name, which will cause the
principal mismatch.   And you will get exactly the error you getting.
________________________________________________
Kerberos mailing list           [email protected]
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to