Developer Services Portal v. 4.16.05
All Apigee recommended Private Cloud installations of the portal require the portal to be behind a load balancer. Therefore, you configure SSL on the load balancer itself, and not on the portal. The procedure that you use to configure SSL is therefore dependent on the load balancer.
See Using TLS on the portal for an overview of using SSL on the portal.
However, if necessary, you can configure SSL on the web server that hosts the portal. By default, Apigee installs the Apache web server.
- Obtain your SSL key and certificate.
- Ensure that you install mod_ssl as described in Developer Services portal installation by
using the command:
> yum install mod_ssl
- Update /etc/httpd/conf/httpd.conf:
- If you want to disable HTTP access on port 80, search for 'Listen 80' and comment it out.
- Add the following lines at the end of file:
LoadModule ssl_module modules/mod_ssl.so
- Setup a virtual host by editing /etc/httpd/conf/vhosts/devportal.conf to
add the following:
SSLCertificateFile "<public cert path>"
SSLCertificateKeyFile "<private key path>"
Options Indexes FollowSymLinks MultiViews
Allow from all
Also, comment out the existing VirtualHost definition if you do not want to use HTTP.
- Because SSL is configured in httpd.conf, you do not need ssl.conf:
> mv /etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ssl.conf.orig
- Restart Apache:
> service httpd restart
You might be prompted to enter the passphrase for your key file.
You should be able to access the portal over SSL.