Contents

Popular
 Contents

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.

Icon

To configure SSL in gateway server, please refer to the Configuring the Jetty Server with SSL Support section.

Icon

To avoid security exceptions in browsers, make sure the common names specified in SSL certificates rightly correspond to the domain names of API management, gateway and web servers.

Enabling SSL

To enable SSL Connections on the Drupal Developer Portal using Web Server, perform the following actions:

  1. Generate a Self Signed Certificate using the command below which uses openssl to create a basic certificate:

  2. Configure the Apache server to enable SSL Connections y making the following changes at /path/to/your/<WebServer>/apache2/conf:

    1. Create a file named "drupal-vhosts.conf" in the extra folder.

    2. Include this file in the httpd.conf folder using the following command:

  3. 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:
    Icon

    443 is the default SSL port for the Apache server.

    To Redirect the URL from http:// to https://
    Icon

    80 is the default HTTP port for the Apache server.

Icon

If there is a domain name where the project is hosted, add the following under VirtualHost directives:

Icon

For further details, refer to https://www.drupal.org/https-information.

Adaptavist ThemeBuilder EngineAtlassian Confluence