Hi,
thanks for your responses, I did not know about https support in Serviio. I have modified my https Apache virtualhost in order to proxy request to the secure ports of serviio. In case this helps, here is my virtual host:
<IfModule mod_ssl.c>
<IFModule mod_proxy.c>
<VirtualHost *:443>
#ServerName
http://www.example.com ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
ProxyPass /console
http://localhost:23523/console ProxyPassReverse /console
http://localhost:23523/console ProxyPass /rest/
http://localhost:23523/rest/ ProxyPassReverse /rest/
http://localhost:23523/rest/ ProxyPass /cds/
http://localhost:23524/cds/ ProxyPassReverse /cds/
http://localhost:23524/cds/ ProxyPass /
http://localhost:23524/mediabrowser/ ProxyPassReverse /
http://localhost:23524/mediabrowser/ ProxyRequests Off
ProxyPreserveHost On
<Location /console>
AuthName "Secure Area"
AuthType Basic
AuthUserFile /etc/apache2/console.htpasswd
require valid-user
</Location>
SSLEngine on
SSLCertificateFile path_to_cert.pem
SSLCertificateKeyFile /path_to_privkey.pem
SSLCertificateChainFile /path_to_chain.pem
</VirtualHost>
</IFModule>
</IfModule>
I can access the ports (23524 and 23523) directly and everything works fine, but when I access via apache, I get a 502 proxy error. This is what my Apache log is saying:
[Sat May 21 01:39:35.342534 2016] [proxy_http:error] [pid 4718:tid 140705393530624] (20014)Internal error: [client 192.168.1.10:53204] AH01102: error reading status line from remote server localhost:23524
[Sat May 21 01:39:35.342559 2016] [proxy:error] [pid 4718:tid 140705393530624] [client 192.168.1.10:53204] AH00898: Error reading from remote server returned by /
[Sat May 21 01:39:35.398885 2016] [proxy_http:error] [pid 4718:tid 140705385137920] (20014)Internal error: [client 192.168.1.10:53204] AH01102: error reading status line from remote server localhost:23524, referer:
https://mediaserver.local/[Sat May 21 01:39:35.422655 2016] [proxy_http:error] [pid 4719:tid 140705385137920] (20014)Internal error: [client 192.168.1.10:53206] AH01102: error reading status line from remote server localhost:23524, referer:
https://mediaserver.local/[Sat May 21 01:39:35.422674 2016] [proxy:error] [pid 4719:tid 140705385137920] [client 192.168.1.10:53206] AH00898: Error reading from remote server returned by /favicon.ico, referer:
https://mediaserver.local/Any ideas?
Once again, thank you so much for your kind help. Once I get this fixed I will post the solution here, maybe it helps someone else

Take care!