Uploaded by Mathias Alejandro Salva

499-Enable SSL for Assets

advertisement
InvGate Support
1-2
Enable SSL for Assets
English » InvGate Assets » How to
#499
Last edited by Jason Oriente Updated 08 Nov 2021, 15:01
Summary:
How do you enable SSL?
Resolution:
Use a text editor to open the file apache_vhost.conf from "C:\Program
Files (x86)\InvGate\Assets\Apache\conf\apache_vhost.conf”
Add the following entry at the top of the file:
Listen 8420
Listen 443
Copy from <VirtualHost *:8420> to </VirtualHost>and paste it below the
original one at the end
In the duplicated VirtualHost, you must perform the following changes:
Change the port to 443 so to have the first VirtualHost with 8420 and
the second one with Port 443 like this:
<VirtualHost *:8420>
</VirtualHost>
<VirtualHost *:443>
</VirtualHost>
Add the following lines within <VirtualHost *:443> to </VirtualHost> at the
bottom right before </VirtualHost>
InvGate Support
2-2
SSLEngine on
SSLCertificateFile
"C:\Program Files (x86)\%PATH%\cert.crt"
SSLCertificateKeyFile "C:\Program Files (x86)\%PATH%\key.key"
* Replace the #PATHs above to the path in which you have your "*.crt" and
"*.key" files. Make sure the filenames match.
Use a text editor to open the file httpd.conf from "C:\Program Files
(x86)\InvGate\Assets\Apache\conf\httpd.conf”
Find the line displaying "#LoadModule ssl_module modules/mod_ssl.so
" and remove the hash (#), then save the file
Restart the InvGate Assets Web Server
Note: If you are using a "chain" type certificate as well you should add the
following line to the "apache_vhost" configuration:
SSLCertificateChainFile "C:\Program Files (x86)\%PATH%\cert.ca"
If the SSLCertificateChainFile is not working, you can try using
the SSLCACertificateFile instead.
Take into consideration that the key file should be decrypted in order for
the HTTPS to be enabled.
Download