OpenEMM webadmin + SSL width Apache2 and modssl
Posted: Tue Feb 05, 2008 5:48 pm
I am wondering that nobody in this forum seems to have a security problem with using openEMMs unencrypted port 8081 for administration..
Here's my Apache2-Proxy-SSL-howto for using OpenEMM's console over SSL:
1) install apache2 width mod_ssl and mod_proxy
2) setup a ssl-virtualhost (generate certificate,...) -> if you don't know how to do this.. just google ;)
3) configure mod_proxy using http://127.0.0.1:8081
4) add host-name option (f.e. example.test.com) to the host-tag in /home/openemm/conf/console.conf
5) restart apache2 and restart openemm
Best,
Martin
Here's my Apache2-Proxy-SSL-howto for using OpenEMM's console over SSL:
1) install apache2 width mod_ssl and mod_proxy
2) setup a ssl-virtualhost (generate certificate,...) -> if you don't know how to do this.. just google ;)
3) configure mod_proxy using http://127.0.0.1:8081
Code: Select all
# Proxy ACL
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
# Proxy directives
ProxyPass / http://127.0.0.1:8081/
ProxyPassReverse / http://127.0.0.1:8081/
ProxyPreserveHost on
4) add host-name option (f.e. example.test.com) to the host-tag in /home/openemm/conf/console.conf
Code: Select all
<host id="" host-name="https://example.test.com" root-directory="${resin.home}/webapps/openemm">
Best,
Martin