Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
[[image:Joomla_logo.jpg]]
'''NOTE:''' This has not been tested with Amahi 7 or greater. Following this guidance is at your own risk and could break your HDA.
'''Acces your Joomla site over Https (HyperText Transfer Protocol Secure)'''=Step 1 - Setting up port forwarding=
* Forward port 443 to your HDA IP address (example: 192.168.2.10)
=Step 2- Install ssl module=
=Step 1 * Type the following command **<code>yum - Setting up port forwarding=y install mod_ssl</code>
=Step 3 - Create Certificate=
* Forward port 443 Go to your HDA IP address (example: 192.168.2.10)config file for apache, **<code>cd /etc/httpd/conf/</code>
* create a key and a self-signed certificate
**<code>openssl genrsa -out filename.key 1024</code>
**<code>openssl req -new -key filename.key -x509 -days 1000 -out filename.crt</code>
=Step 2 4 - Edit httpd config files= 
* Go to the folder /etc/httpd/conf
** control+X
 =Step 3 5 - Edit Joomla config files=
* Add the following text on a new line:
** <codepre><VirtualHost *:443>
ServerName joomla
</Directory>
</VirtualHost></codepre
* Save your web-app.conf
* Exit nano
** control+X
 
 
[[image:1006-joomlaconf.jpg]]
 =step 4 6 - Restart httpd service= 
* Restart your httpd service by issuing the following:
** <code>service httpd restart</code>
 
<strong>Enjoy</strong>
[[image:joomla.jpg]]
= See also =[[image:joomla.jpgAccess HDA over SSL]]
12,424

edits