Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 1 Administration : Setting Up SSL Support for the Developer Portal

Setting Up SSL Support for the Developer Portal
You can set up the API Exchange portal engine and the Developer Portal to communicate using a Secure Sockets Layer (SSL) connection over HTTPS.
Configuring the portal engine and the Developer Portal for SSL includes the following tasks:
Task A Make Sure the Portal Engine and the Gateway Engine are Running Over SSL
Ensure that the gateway engine and the portal engine are configured to run over SSL:
1.
For information on enabling HTTPS on the API Exchange Gateway, see “Enable Facade HTTPs Transport” in Chapter 4 of the TIBCO API Exchange Gateway User’s Guide.
2.
Edit the asg-portal.properties file on the host where the API Exchange Manager component is running to ensure that the Developer Portal runs over SSL.
For information on this task, see Task E, Edit the asg_portal.properties File to Specify SSL Settings.
Task B Set up Apache to Run on SSL
To set up the Apache Web Server to run on SSL, follow these steps:
1.
http://httpd.apache.org/docs/2.4/ssl/ssl_howto.html
2.
Locate the <APACHE_HOME>/conf/extra/httpd-ssl.conf file.
3.
Edit the httpd-ssl.conf file and ensure that it contains the following lines:
SSLEngine on
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
Task C Specify Settings for SSL in the Apache httpd.conf File
Edit the httpd.conf file and make sure the following settings are specified:
1.
#LoadModule ssl_module modules/mod_ssl.so
2.
# Secure (SSL/TLS) connections
#Include conf/extra/httpd-ssl.conf
3.
For example:
ProxyPass /apiKey https://developer.company.com :9133/apiKey
ProxyPassReverse /apiKey https://developer.company.com: 9133/apiKey
Task D Configure SSL in the Joomla Administrator
Follow these steps to configure SSL for Joomla:
 
1.
2.
Select System > Global Configuration.
3.
Click the Server tab.
4.
5.
Click Save.
Task E Edit the asg_portal.properties File to Specify SSL Settings
To configure the portal engine for SSL, follow these steps:
1.
Go to the <directory path for asg_portal.properties file> directory.
2.
Edit the asg_portal.properties file.
3.
4.
For detailed information, see the section on “Connection Parameters for HTTPs Channel (Facade)” in Table 15, “Core Engine Properties” in Chapter 3 of the TIBCO API Exchange Gateway User’s Guide, “Core Engine Configuration.”
5.
# Portal Engine Swagger specification document location URL prefix
https:/asg.portal.engine.swagger.spec.url.prefix = https://<portal_engine_hostname>/joomla/uploads/swaggerSpecs/
# Portal Server URL prefix
asg.portal.url.prefix = https://<portal_engine_hostname>/joomla
6.
asg.portal.server.hostname=<portal-engine-server-hostname>
7.
#SSL Properties for Spotfire
asg.portal.spotfire.ssl.property.file.path=
<
path_to_spotfire_ssl_properties_file>
8.
Save the asg_portal.properties file.
Task F Import the Joomla Security Certificates into the cacerts Keystore
Import the certificates used by Joomla into the TIBCO cacerts keystore. this ensures that the portal engine trust the certificate presented by Joomla.
 
Follow these steps to import the certificates:
1.
Import the certificates used by Joomla into the <TIBCO_HOME>/tibcojre64/1.7.0/lib/security/cacerts keystore so that the portal engine trusts the certificate presented by Joomla
keytool -import -keystore %jre_home%\lib\security\cacerts -alias <alias_name> -file <your_cert_file>
where alias_name is the name of the SSL alias and your_cert_file is the filename of your certificate file.
Task G In the Developer Portal, Specify SSL for Environment and Gateway Configuration
When you are configuring the Developer Portal, specify SSL for any environments or gateways that you create:
1.
a.
Make sure that you check the SSL check box under the Basepath field.
b.
If you choose Yes for the Managed by Gateway setting, then select Yes for the SSL Enabled selection, and specify an HTTPS URL for the Management URL.
2.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved