You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Erol Yalaz <ey...@discussoftware.com.INVALID> on 2023/06/16 17:36:00 UTC

Trouble with Archiva and Apache SSL

I have the latest Archiva deployed on a system on port 8080.  Everything works great.  I want to secure it with SSL so I put Apache in front on port 443 with mod-proxy pointing to localhost:8080.  Pretty simple.

However, I can't get the pass through to archiva working.  I have looked up SSL configurations on the web and none of them seem to work.  I know that SSL itself works but it won't redirect to the initial Archiva home page.

I have this on a windows 10 machine.  Has anyone configured archiva with Apache SSL?

Thanks - Erol Yalaz
DISCUS Software Co.

----------------mod proxy settings below-----------------------

ProxyRequests Off

#SSLProxyEngine On

ProxyPass / http://localhost:8080
ProxyPassReverse / http://localhost:8080

ProxyTimeout 600
#ProxyTimeout 2

#SSLProxyCheckPeerCN off

Re: Trouble with Archiva and Apache SSL

Posted by Marco Ferretti <ma...@axiante.com>.
I have
ProxyPreserveHost On
SSLEngine On
other than what you already have shared and it works

Marco Ferretti | Senior Java Architect | Axiante (https://link.getmailspring.com/link/9B6BC851-93BF-41EA-9F23-A0E3BB4E7D9D@getmailspring.com/0?redirect=https%3A%2F%2Fwww.axiante.com&recipient=dXNlcnNAYXJjaGl2YS5hcGFjaGUub3Jn)

M +39 366 6186339
A Via Paracelso 16, 20864 Agrate Brianza (MB)

On Jun 16 2023, at 7:36 pm, Erol Yalaz <ey...@discussoftware.com.invalid> wrote:
> I have the latest Archiva deployed on a system on port 8080. Everything works great. I want to secure it with SSL so I put Apache in front on port 443 with mod-proxy pointing to localhost:8080. Pretty simple.
>
> However, I can't get the pass through to archiva working. I have looked up SSL configurations on the web and none of them seem to work. I know that SSL itself works but it won't redirect to the initial Archiva home page.
> I have this on a windows 10 machine. Has anyone configured archiva with Apache SSL?
> Thanks - Erol Yalaz
> DISCUS Software Co.
>
> ----------------mod proxy settings below-----------------------
> ProxyRequests Off
> #SSLProxyEngine On
> ProxyPass / http://localhost:8080
> ProxyPassReverse / http://localhost:8080
>
> ProxyTimeout 600
> #ProxyTimeout 2
>
> #SSLProxyCheckPeerCN off