Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| vendors:cisco:uc:ece:chatapiserver-redhat [2024/10/31 07:59] – [Unable to start Redis Service] gerardorourke | vendors:cisco:uc:ece:chatapiserver-redhat [2025/09/24 13:03] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 64: | Line 64: | ||
| < | < | ||
| Enter the details of your Self Signed Cert - making sure to include the FQDN when asked. Then update the ssl.conf file to utilise this certificate and restart the apache server. | Enter the details of your Self Signed Cert - making sure to include the FQDN when asked. Then update the ssl.conf file to utilise this certificate and restart the apache server. | ||
| + | |||
| + | File: / | ||
| < | < | ||
| SSLCertificateFile / | SSLCertificateFile / | ||
| SSLCertificateKeyFile / | SSLCertificateKeyFile / | ||
| </ | </ | ||
| + | |||
| + | *The Private Key should only be RW by the owner. | ||
| + | *The cert should be be RW for owner and R for Group and Others (chmod 644 httpd_20250115.crt) | ||
| === Create a CSR Certificate === | === Create a CSR Certificate === | ||
| Below command saves the CSR file to the / | Below command saves the CSR file to the / | ||
| - | < | + | the Below also adds two SAN records - update as required (making one the same as the CN which you will fill in when prompted). |
| + | < | ||
| === Import Signed Cert === | === Import Signed Cert === | ||
| Line 224: | Line 230: | ||
| </ | </ | ||
| + | However below doesn' | ||
| + | < | ||
| + | setsebool -P httpd_can_network_redis 1 | ||
| + | </ | ||
| ====PHP TIPS ==== | ====PHP TIPS ==== | ||
| Line 330: | Line 340: | ||
| ===== Enabling .htaccess files ==== | ===== Enabling .htaccess files ==== | ||
| To enable .htacess files edit the httpd configuration file - **/ | To enable .htacess files edit the httpd configuration file - **/ | ||
| - | In the default document root section: < | + | In the default document root section: < |
| Change the **AllowedOverride None** to **AllowedOverride All** | Change the **AllowedOverride None** to **AllowedOverride All** | ||
| Line 336: | Line 346: | ||
| Default Example: | Default Example: | ||
| < | < | ||
| - | < | + | < |
| Options Indexes FollowSymLinks | Options Indexes FollowSymLinks | ||
| AllowOverride None | AllowOverride None | ||
| Line 345: | Line 355: | ||
| Updated Config Example: | Updated Config Example: | ||
| < | < | ||
| - | < | + | < |
| Options Indexes FollowSymLinks | Options Indexes FollowSymLinks | ||
| AllowOverride All | AllowOverride All | ||