Re: [Freeipa-users] how to setup apache reverse https proxy for freeipa web UI

2016-06-08 Thread Jan Pazdziora
On Wed, Jun 08, 2016 at 10:01:44AM +0200, Jan Pazdziora wrote: > On Tue, Jun 07, 2016 at 11:01:12AM -0400, Anthony Clark wrote: > > Apparently removing the GSSAPI AuthType breaks foreman-proxy, so I had to > > do this: > > > > > > > > AuthType GSSAPI > > This feels strange. The %{HTTP_HOS

Re: [Freeipa-users] how to setup apache reverse https proxy for freeipa web UI

2016-06-08 Thread Jan Pazdziora
On Tue, Jun 07, 2016 at 11:01:12AM -0400, Anthony Clark wrote: > Apparently removing the GSSAPI AuthType breaks foreman-proxy, so I had to > do this: > > > > AuthType GSSAPI This feels strange. The %{HTTP_HOST} is the value of the Host: header of the HTTP request. And on my setup, with ht

Re: [Freeipa-users] how to setup apache reverse https proxy for freeipa web UI

2016-06-08 Thread Jan Pazdziora
On Tue, Jun 07, 2016 at 09:50:07AM -0400, Anthony Clark wrote: > One thing I noticed was that once I had set up the proxy as per the > document from Jan, I was getting access denied to /ipa until I disabled the > Kerberos authentication stuff: > > # Protect /ipa and everything below it in webspace

Re: [Freeipa-users] how to setup apache reverse https proxy for freeipa web UI

2016-06-07 Thread Anthony Clark
Apparently removing the GSSAPI AuthType breaks foreman-proxy, so I had to do this: AuthType GSSAPI AuthName "Kerberos Login" GssapiCredStore keytab:/etc/httpd/conf/ipa.keytab GssapiCredStore client_keytab:/etc/httpd/conf/ipa.keytab GssapiDelegCcacheDir /var/run/httpd/ipa/cl

Re: [Freeipa-users] how to setup apache reverse https proxy for freeipa web UI

2016-06-07 Thread Anthony Clark
One thing I noticed was that once I had set up the proxy as per the document from Jan, I was getting access denied to /ipa until I disabled the Kerberos authentication stuff: # Protect /ipa and everything below it in webspace with Apache Kerberos auth # AuthType GSSAPI # AuthName "Kerberos Logi

Re: [Freeipa-users] how to setup apache reverse https proxy for freeipa web UI

2016-06-06 Thread Karl Forner
Thanks a lot Jan. It works perfectly, and it is crystal-clear. Best, Karl On Mon, Jun 6, 2016 at 11:13 AM, Jan Pazdziora wrote: > On Fri, Jun 03, 2016 at 10:42:59PM +0200, Jan Pazdziora wrote: >> >> Hope this helps. I will likely do another writeup about this setup. > > https://www.adelton.com/fr

Re: [Freeipa-users] how to setup apache reverse https proxy for freeipa web UI

2016-06-06 Thread Jan Pazdziora
On Fri, Jun 03, 2016 at 10:42:59PM +0200, Jan Pazdziora wrote: > > Hope this helps. I will likely do another writeup about this setup. https://www.adelton.com/freeipa/freeipa-behind-proxy-with-different-name -- Jan Pazdziora Senior Principal Software Engineer, Identity Management Engineering, R

Re: [Freeipa-users] how to setup apache reverse https proxy for freeipa web UI

2016-06-03 Thread Jan Pazdziora
On Thu, Jun 02, 2016 at 03:00:36PM +0200, Karl Forner wrote: > > My problem is: > I have an ipa.example.com server on the internal network, with > self-signed certificates. > I'd like to be able to connect to the UI from the internet, using > https with other certificates (e.g. let's encrypt certi

[Freeipa-users] how to setup apache reverse https proxy for freeipa web UI

2016-06-02 Thread Karl Forner
Hi, My problem is: I have an ipa.example.com server on the internal network, with self-signed certificates. I'd like to be able to connect to the UI from the internet, using https with other certificates (e.g. let's encrypt certificates). So I tried to setup an SNI apache reverse proxy, but I cou