Contents

Popular

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

To avoid security exceptions in browsers, make sure the common names specified in SSL certificates correctly rightly correspond to the domain names of API management, gateway and WAMP 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:

    Code Block
    openssl req -x509 -nodes -days 365 -newkeyrsa:2048 -keyoutdrupal.key -out drupal.crt
  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 at /path/to/your/WAMPP/apache2/conf.

    2. Include this file in the httpd.conf folder at /path/to/your/WAMPP/apache2/conf using  using the following command:

      Code Block
      Include conf/extra/drupal-vhosts.conf
  3. Add the below commands to the drupal-vhosts.conf file:

    Code Block
    titleTo enable SSL connections, "ssl_module" is required:
    LoadModule ssl_module modules/mod_ssl.so
    Code Block
    titleTo load the SSL certificate file that is created:
    <VirtualHost *:443>
       SSLEngine on
       SSLCertificateFile "/path/to/your/Certificate/File/drupal.crt"
       SSLCertificateKeyFile "/path/to/your/Certificate/File//drupal.key"
    </VirtualHost>
    Info

    443 is the default SSL port for the Apache server.

    Code Block
    titleTo Redirect the URL from http:// to https://
    <VirtualHost *:80>
       Redirect /FioranoDeveloperPortal https://localhost/FioranoDeveloperPortal
    </VirtualHost>
    Info

    80 is the default HTTP port for the Apache server.

...

Adaptavist ThemeBuilder EngineAtlassian Confluence