Pydio8 can http but cannot https

Hello,

I’ve installed a new version of Pydio 8 community from scratch on a centos 7. Everything seems to work fine but when I try to set up https it won’t work. I’ve created a vhost.conf file with the right parameters but when I try to connect I get a ERR_CONNECTION_REFUSED under chrome and nothing under firefox. I checked my iptables file and all is OK. I can reach the pydio website in http. Could you please help me as i’m starting to go mad with this. Thank you in advance

Hi,
to resume quickly you created another vhost file that uses port 443(the default https port), then you created your SSL certificates for your domain name or ip then you specified they path in your vhost file to this cert and key and then you enabled this config on apache2 ( i believe that you also have to enable the SSL mods on apache).

Hello zayn. That’s correct. I’ve indeed created a vhost file on port 443 and then given the paths to the certificates. I went to the config of the apache2 but not sure if I’ve enabled correctly the SSL mods. Could you be more specific on how to enable that in apache? Thanks

Hi,
for apache you can use a2enmod ssl

Hello zayn,

Sorry for the long time without reply. Holidays and then work problems. Anyways I’m back and I would really like to sort this out. I’m on centos and I already have what I need for ssl. I followed this procedure: HowTos/Https
but I think that I must be stucked at my paths or something. Anyways http still works but https doesn’t. Here is a preview of my vhost file:

LoadModule ssl_module modules/mod_ssl.so
listen 443
NameVirtualHost *:443
<VirtualHost *:443>
ServerAdmin it@domain.xxx
ServerName pydiotest.domain.xxx
DocumentRoot /usr/share/pydio/
ErrorLog logs/dsfc-error_log

SSLEngine On
SSLCertificateFile /etc/pki/tls/certs/STAR.domain.com.crt
SSLCertificateKeyFile /etc/pki/tls/private/STAR.domain.com.key
SSLCertificateChainFile /etc/pki/CA/certs/COMODORSADomainValidationSecureServerCA.crt

 ServerAdmin it@domain.xxx
 ServerName pydiotest.domain.xxx
 DocumentRoot /usr/share/pydio/
 ErrorLog logs/dsfc-error_log
Order Deny,Allow Allow from all ~ ~ "/etc/httpd/conf.d/vhost.conf"

All help is welcome

Hi,
here’s a config example for ssl https://github.com/KungFu-Kenny/pydio_8_docker/blob/master/pydio-ssl.conf
take a look at it see if you are missing something, you don’t need to have the same exact parameters but it might give you an idea.