aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/datafilecollector-testharness/http-https-server/apache2/conf/extra
diff options
context:
space:
mode:
authorKrzysztof Gajewski <krzysztof.gajewski@nokia.com>2021-02-25 11:38:57 +0100
committerKrzysztof Gajewski <krzysztof.gajewski@nokia.com>2021-03-04 13:33:05 +0100
commitb1b6fa12fc2923d73955d7b9935ff4293a0021c9 (patch)
tree9fc29967426b1e27a6f494b2db59242ed9fe80f2 /test/mocks/datafilecollector-testharness/http-https-server/apache2/conf/extra
parent30baa4a36a92d2766bd7e0c0ba38fac7ef6dfada (diff)
Modify DFC HTTP mock to consume PNF-Simulator HTTP server
Issue-ID: DCAEGEN2-2536 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com> Change-Id: I1737bc1d5d5558552afd32c93ca68d1143d36a89
Diffstat (limited to 'test/mocks/datafilecollector-testharness/http-https-server/apache2/conf/extra')
-rw-r--r--test/mocks/datafilecollector-testharness/http-https-server/apache2/conf/extra/httpd-ssl.conf99
1 files changed, 0 insertions, 99 deletions
diff --git a/test/mocks/datafilecollector-testharness/http-https-server/apache2/conf/extra/httpd-ssl.conf b/test/mocks/datafilecollector-testharness/http-https-server/apache2/conf/extra/httpd-ssl.conf
deleted file mode 100644
index 24cf51da3..000000000
--- a/test/mocks/datafilecollector-testharness/http-https-server/apache2/conf/extra/httpd-ssl.conf
+++ /dev/null
@@ -1,99 +0,0 @@
-Listen 443
-Listen 8080
-Listen 32100
-
-SSLProxyCipherSuite HIGH:MEDIUM:!MD5:!RC4:!3DES
-SSLProxyProtocol all -SSLv3
-SSLPassPhraseDialog builtin
-
-SSLSessionCache "shmcb:/usr/local/apache2/logs/ssl_scache(512000)"
-SSLSessionCacheTimeout 300
-
-<VirtualHost *:8080>
- ServerAdmin httpserver-onap.org
- ServerName httpserver-onap.org
-
- DocumentRoot /usr/local/apache2/htdocs
-
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
-
- SSLEngine on
- SSLProtocol -all +TLSv1.2
- SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
- SSLHonorCipherOrder off
- SSLSessionTickets off
-
- SSLCACertificateFile /usr/local/apache2/certs/truststore.pem
- SSLCertificateFile /usr/local/apache2/certs/keystore.pem
- SSLCertificateKeyFile /usr/local/apache2/certs/key.pem
-
-</VirtualHost>
-
-<VirtualHost *:443>
-
- ServerAdmin httpserver-onap.org
- ServerName httpserver-onap.org
-
- DocumentRoot /usr/local/apache2/htdocs
- <Directory "/usr/local/apache2/htdocs">
- SSLVerifyClient optional
- SSLVerifyDepth 2
- SSLOptions +FakeBasicAuth +StrictRequire
- <RequireAll>
- Require ssl-verify-client
- </RequireAll>
- Options Indexes FollowSymLinks MultiViews
- AuthType Basic
- AuthName "Restricted Content"
- AuthBasicProvider file
- AuthUserFile /usr/local/apache2/conf/.htpasswd
- Require valid-user
- </Directory>
-
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
-
- SSLEngine on
- SSLProtocol -all +TLSv1.2
- SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
- SSLHonorCipherOrder off
- SSLSessionTickets off
-
- SSLCACertificateFile /usr/local/apache2/certs/truststore.pem
- SSLCertificateFile /usr/local/apache2/certs/keystore.pem
- SSLCertificateKeyFile /usr/local/apache2/certs/key.pem
-</VirtualHost>
-<VirtualHost *:32100>
-
- ServerAdmin httpserver-onap.org
- ServerName httpserver-onap.org
-
- DocumentRoot /usr/local/apache2/htdocs
- AuthJWTSignatureAlgorithm HS256
- AuthJWTSignatureSharedSecret Q0hBTkdFTUU=
- AuthJWTIss onap
- <Directory "/usr/local/apache2/htdocs">
- AllowOverride None
- Options Indexes FollowSymLinks MultiViews
- AuthType jwt
- AuthName "Restricted Content"
- Require valid-user
- RewriteEngine On
- RewriteCond %{HTTP:Authorization} ^(.*)
- RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
- </Directory>
-
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
-
- SSLEngine on
- SSLProtocol -all +TLSv1.2
- SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
- SSLHonorCipherOrder off
- SSLSessionTickets off
-
- SSLCACertificateFile /usr/local/apache2/certs/truststore.pem
- SSLCertificateFile /usr/local/apache2/certs/keystore.pem
- SSLCertificateKeyFile /usr/local/apache2/certs/key.pem
-</VirtualHost>