You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2021/03/30 17:20:57 UTC

[camel-k] 15/20: test: Fix HTTPS authorization

This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit a3f33612b6a325415efa806c390bff7dba769d20
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Mon Mar 29 17:13:07 2021 +0200

    test: Fix HTTPS authorization
---
 e2e/common/build/maven_ca_secret_test.go | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/e2e/common/build/maven_ca_secret_test.go b/e2e/common/build/maven_ca_secret_test.go
index eb01ebd..85d0a24 100644
--- a/e2e/common/build/maven_ca_secret_test.go
+++ b/e2e/common/build/maven_ca_secret_test.go
@@ -119,6 +119,8 @@ ServerRoot "/etc/httpd
 PidFile /var/run/httpd/httpd.pid"
 
 LoadModule mpm_event_module /usr/local/apache2/modules/mod_mpm_event.so
+LoadModule authn_core_module /usr/local/apache2/modules/mod_authn_core.so
+LoadModule authz_core_module /usr/local/apache2/modules/mod_authz_core.so
 LoadModule proxy_module /usr/local/apache2/modules/mod_proxy.so
 LoadModule proxy_http_module /usr/local/apache2/modules/mod_proxy_http.so
 LoadModule headers_module /usr/local/apache2/modules/mod_headers.so
@@ -140,6 +142,12 @@ Listen 8443
 ProxyRequests Off
 ProxyPreserveHost On
 
+<Directory />
+  Options FollowSymLinks
+  AllowOverride All
+  Require all granted
+</Directory>
+
 <VirtualHost *:8443>
   SSLEngine on