To avoid sensitive information like Drupal passwords and PHP session cookies exposed to third parties, enable SSL connections for a secured network.
Prerequisites
To launch Developer Portal in SSL mode, SSL should also be enabled in API Management servers as well as Gateway servers.
Enabling SSL
To enable SSL Connections on the Drupal Developer Portal using Web Server, perform the following actions:
Generate a Self Signed Certificate using the command below which uses openssl to create a basic certificate:
Configure the Apache server to enable SSL Connections y making the following changes at /path/to/your/<WebServer>/apache2/conf:
Create a file named "drupal-vhosts.conf" in the extra folder.
Include this file in the httpd.conf folder using the following command:
Add the below commands to the drupal-vhosts.conf file:
To enable SSL connections, "ssl_module" is required:To load the SSL certificate file that is created:To Redirect the URL from http:// to https://