Logo Help Center

Using SSL to secure the connection between Enterprise Server and Drupal

Using SSL to secure the connection between Enterprise Server and Drupal

Securing the connection between Enterprise Server and Drupal can be achieved by running Drupal on HTTPS.

Step 1. This step is optional, only perform it when the following is not true:

  • Enterprise Server and Drupal run on the same machine and SSL is set up for Enterprise Server
  • You are happy to reuse the same certificate for Drupal

Repeat the steps from Using SSL in Enterprise Server but now for the Drupal server.

Note: You can choose whether or not to generate the cacert.pem file but if you do, and there is already one installed or used on <web_root>/Enterprise/config/encryptkeys/cacert.pem, you should not overwrite this file. Instead, create another file (for instance cacert_drupal.pem).

Tip: You can configure Drupal on the same machine but on a different port (such as '1234'), thereby enabling you to specify a different certificate than used for Enterprise Server.

Step 2. (Applies to Drupal 8 only) Configure the Enterprise Server plug-in.

Step 3. Set up a Publication Channel:

Step 4. Run the Publish to Drupal test on the Heath Check page. Fix any errors where necessary.

Troubleshooting: Publish error from Drupal

When the certificate does not match, the following type of error is shown:

Drupal - Publish error from Drupal: Error in cURL request: SSL certificate problem, verify that the CA cert is OK. Details: error:1407E086:SSL routines:SSL2_SET_CERTIFICATE:certificate verify failed.

Fix this by checking the path to the Drupal certificate file that is configured for the "Certificate" option on the Publication Channel Maintenance page.

Document history

  • 21 November 2016: Updated information to apply to Drupal 7 and 8.
Was this article helpful?
0 out of 0 found this helpful / Created: / Updated:
Have more questions? Submit a request


Please sign in to leave a comment.