Ciao, volentieri provo a darti il mio aiuto. Come indicato nel Thread sul forum, Il problema era dato dal fatto che il traffico HTTP veniva reindirizzato tutto su HTTPS, anche quello "locale", per cui Lizmap doveva accedere al QGIS server (sulla stessa macchina) attraverso HTTPS. Quindi ho modificato la configurazione Apache, permettendo http per il traffico interno.
Nello specifico, ho editato il file di configurazione apache (nel mio caso: ./etc/apache2/sites-available/000-default.conf Duplicando le impostazioni necessarie per QGIS server/Lizmap, per una virtualhost che risponde alla porta 80 (http). Di seguito trascrivo copia del mio file 000-default.conf. Prova, sei hai problemi libera di ricontattarmi F. <VirtualHost *:80> # PARTE DI CONFIGURAZIONE APACHE PER QGIS+LIZMAP, CHE RISPONDE ALLA PORTA 80 (HTTP) # RAGGIUNGIBILE SOLO DA INTERNO ServerName xxx.site.ch DocumentRoot /var/www/html FcgidIOTimeout 120 # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # error, crit, alert, emerg. # It is also possible to configure the loglevel for particular # modules, e.g. #LogLevel info ssl:warn ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin/"> AllowOverride All Options +ExecCGI -MultiViews +FollowSymLinks AddHandler fcgid-script .fcgi Require all granted </Directory> Alias /map/ /var/www/map/ <Directory "/var/www/map/"> Options -Indexes +FollowSymLinks +ExecCGI AllowOverride All Require all granted </Directory> </VirtualHost> <VirtualHost *:443> # PARTE DI CONFIGURAZIONE APACHE PER QGIS+LIZMAP, CHE RISPONDE ALLA PORTA 443 (HTTPS) # RAGGIUNGIBILE ANCHE DA ESTERNO TRAMITE REGOLE FIREWALL ServerAdmin webmaster@localhost ServerName xxx.site.ch DocumentRoot /var/www/html FcgidIOTimeout 120 # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # error, crit, alert, emerg. # It is also possible to configure the loglevel for particular # modules, e.g. #LogLevel info ssl:warn ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined # For most configuration files from conf-available/, which are # enabled or disabled at a global level, it is possible to # include a line for only one particular virtual host. For example the # following line enables the CGI configuration for this host only # after it has been globally disabled with "a2disconf". #Include conf-available/serve-cgi-bin.conf ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin/"> AllowOverride All Options +ExecCGI -MultiViews +FollowSymLinks AddHandler fcgid-script .fcgi Require all granted </Directory> Alias /map/ /var/www/map/ <Directory "/var/www/map/"> Options -Indexes +FollowSymLinks +ExecCGI AllowOverride All Require all granted </Directory> SSLEngine on SSLCertificateFile /etc/apache2/ssl/certificate.crt SSLCertificateKeyFile /etc/apache2/ssl/private.key ##SSLCACertificateFile /etc/apache2/ca-bundle.crt </VirtualHost> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet -----Messaggio originale----- Da: QGIS-it-user <qgis-it-user-boun...@lists.osgeo.org> Per conto di nadiaspit Inviato: martedì, 7 gennaio 2020 12:03 A: qgis-it-user@lists.osgeo.org Oggetto: Re: [QGIS-it-user] qgis server + lizmap con HTTPS Ciao, ho il tuo stesso problema con qgis server + lizmap certificato generato con Let's Encrypt Quando il sito è configurato con HTTP, tutto ok Se abilito l'SSL, da Lizmap non mi vengono visualizzati i layer sulla mappa. Potresti dare maggiori dettagli sulla tua soluzione? In che modo hai configurato http per il traffico interno? Grazie! N. -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html _______________________________________________ QGIS-it-user mailing list QGIS-it-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/qgis-it-user _______________________________________________ QGIS-it-user mailing list QGIS-it-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/qgis-it-user