I’ve used the following configurations : /opt/otobo/scripts/apache2-httpd-vhost-443.include.conf , /opt/otobo/scripts/apache2-httpd-vhost-80.include.conf
I’ve been fiddling with the apache conf to make sure every website is accessible on the machine using https, without sucess :(.
Here is what my apache conf looks like right now :
<VirtualHost *:80> Header always set Referrer-Policy "unsafe-url" Header set Access-Control-Allow-Origin "*" ServerName <my.domain>
<VirtualHost *:443> TraceEnable off RewriteEngine On RewriteCond %{HTTP_HOST} !^<my.domain>$ [NC,OR] ReWriteCond %{SERVER_PORT} !^443$ RewriteRule ^/(.*) <my.domain>/$1 [NC,L] ProxyPass /e-SIToul_WS_interface http://<my.domain>:8080/[REDACTED] ProxyPassReverse /e-SIToul_WS_interface http://<my.domain>:8080/[REDACTED] Header set Access-Control-Allow-Origin "*" Header set Access-Control-Allow-Headers "Origin,Content-Type,X-Requested-With,Accept,Authorization" Header set Access-Control-Allow-Methods "GET, POST, DELETE, PUT, OPTIONS" Header always set Strict-Transport-Security "max-age=63072000" SSLEngine On Protocols h2 h2c http/1.1
SSLUseStapling on SSLCertificateFile /etc/pki/tls/certs/httpd.crt SSLCertificateKeyFile /etc/pki/tls/private/httpd.key SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1 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
DocumentRoot [REDACTED] ServerName <my.domain>
ErrorLog logs/error_log LogFormat "%h %l %u %t \"%r\" %>s %b" common CustomLog logs/SSL-access_log common
# Preload otobo.psgi so that that the app doesn't have to be loaded again for every process. # This also sets @INC. PerlPostConfigRequire /opt/otobo/scripts/apache2-perl-preload_otobo_psgi.pl
# RT : OTOBO conf, first part
ScriptAlias /otobo/ "/opt/otobo/bin/cgi-bin/" Alias /otobo-web/ "/opt/otobo/var/httpd/htdocs/"
<IfModule mpm_event_module> Error "The Multi-Processing Module mpm_event is active but it isn' supported by OTOBO. Please switch to mpm_prefork." </IfModule>
<IfModule mpm_worker_module> Error "The Multi-Processing Module mpm_worker is active but it isn't supported by OTOBO. Please switch to mpm_prefork." </IfModule> # Use a dedicated Perl interpreter for the current virtual host, in this case the virtual host serving port 443 PerlOptions +Parent
# Preload otobo.psgi so that that the app doesn't have to be loaded again for every process. # This also sets @INC. #PerlPostConfigRequire /opt/otobo/scripts/apache2-perl-preload_otobo_psgi.pl
# everything is handled by the PSGI app #<Location /otobo> <Location />
# handle all requests, including the static content, with otobo.psgi SetHandler perl-script PerlResponseHandler Plack::Handler::Apache2 PerlSetVar psgi_app /opt/otobo/bin/psgi-bin/otobo.psgi
# Require is supported starting with Apache 2.4. # No authentication and all requests are allowed. Require all granted
now I understand what you’re trying to achive :) can you try this config, have you tried to generate open ssl certificate and add it to your apache config file if not you can do it very easily via https://certbot.eff.org/ for free and after that just upload the certificate and change the path
Our website uses cookies. Cookies are tiny text files which are saved in your web browser or by your web browser on your device when you access websites. They contain a characteristic character sequence allowing to clearly identify your browser upon your next visit to the website.
You can prevent the setting of cookies at any time by making the appropriate setting in your internet browser. Cookies that have already been set can be deleted manually or automatically at any time. This is possible in all common internet browsers. If the setting of cookies is deactivated in the browser, not all functions of the website may be fully usable.
We deliberately use very little cookies.
Detailed information can be found in section 4 of our Privacy Policy.
Necessary cookies
Essential Cookies are necessary to deliver this website and some of its features correctly.
For this reason, we do not provide any opportunity here to disable them.
Notwithstanding this, you can deactivate all Cookies in your Browser Settings at any time. Please be aware, however, that this might have an impact on the functionality of this website.
More information about the cookies to be set and how long they will be stored can be found in section 4 of our Privacy Poliy: Privacy Policy.
Google Analytics' Cookies
When you visit this website, Google Analytics sets cookies on your system. This will help us analyse how you use our website ans tailor it to the needs of our visitors. Your IP address will be automatically anonymised (IP anonymisation and deactivation of your User ID). Therefore, we cannot trace which data a certain user is accessing. The data are not saved together with any other personal user data.
You can deactivate tracking in your browser if you do not want us to be able to track your visit on our website.
Privacy Policy
Detailed information on the usage of cookies as well as our Privacy Policy can be found here: