0
I had an Apache configured to run on HTTPS. Also a Tomcat application running without the 8080 port and in HTTPS. Everything perfect since I had to install Drupal 10 (using composer) that needed a different PHP version
Problem: my Apache is still in HTTPS. I can use Drupal 10 now. BUT the Tomcat app now only runs if :8080 is added (and there is a warning that says that the site is insecure, so I assume it only runs now in HTTP)
The message error that appears when I use https://myserver.com/myTomcat_application is This combination of host and port requires TLS (and also HTTPS seems not to work, it appears as 'Not secure' and in red)
I did not touch anything in Tomcat or Apache configuration.
I am wondering at which point everything went wrong. So, even if my phpconfig.php was saying that I was using php 8.2, Drupal keeped saying that I was using a PHP version lower than 8 (I have several PHP versions installed)
These are some of the actions I did:
sudo apt purge libapache2-mod-php8.2 libapache2-mod-php (i think this was a mistake, as it re-installed all? so for example I had to reconfigure pgsql)
sudo a2dismod php7.1
sudo a2enmod php8.2
Some maybe relevant info from phpinfo.php:
OpenSSL is enabled. Loaded Modules: mod_ssl
Registered Stream Socket Transports: tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Apache environment: SSL_TLS_SNI =>mywebsite.com
Thanks for any kind of guidance