Dispatcher SSL configuration on Linux | Community
Skip to main content
Level 2
October 16, 2015
Solved

Dispatcher SSL configuration on Linux

  • October 16, 2015
  • 7 replies
  • 4675 views

Experts,
The SSL configuration instructions for dispatcher are not working and there must be something missing or incorrect.
Please help!
--------------------------------
Situation:
Dispatcher was configured and tested on port:80 - works fine. Now switching to SSL:

1) Downloaded dispatcher that supports SSL (dispatcher-apache2.4-linux-x86-64-ssl10-4.1.9.tar)

2) Replaced the dispatcher library and re-link the mod_dispatcher.so to point to the new dispatcher library

3) Linux OpenSSL is version 1.0 -> Relinked to older version to support dispatcher:

“ln -s libssl.so.10 libssl.so.0.9.8” and “ln -s libcrypto.so.10 libcrypto.so.0.9.8”

4) Generated self-signed certs <myserver>.crt and <myserver>.key

5) Updated httpd.conf:

Listen 443

<VirtualHost <myserver>:443>
  ServerName  <myserver>
  DocumentRoot /usr/share/httpd
  <Directory /usr/share/httpd>
    <IfModule disp_apache2.c>
      SetHandler dispatcher-handler
    </IfModule>
    AllowOverride None
  </Directory>
  SSLEngine on
  SSLCertificateFile /etc/httpd/ssl/<myserver>.crt
  SSLCertificateKeyFile /etc/httpd/ssl/<myserver>.key
</VirtualHost>

6) Error on restarting apache:

"Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration"
---------------------------------------------------------------------------------
It seems like we need to load apache ssl module in addition to dispatcher ssl module, right?
Is "LoadModule ssl_module modules/mod_ssl.so" required?
Does anyone run Dispatcher on SSL on Linux? Can you share your httpd.conf settings?
Thanks a lot!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Scott_Brodersen

Hi, are the tweaks that you mentioned not documented here?  http://docs.adobe.com/docs/en/dispatcher/disp-ssl.html

If not, if you tell me what you did I can see about adding the information to that page.

 

thanks,
scott

7 replies

Scott_Brodersen
Scott_BrodersenAccepted solution
Level 8
October 16, 2015

Hi, are the tweaks that you mentioned not documented here?  http://docs.adobe.com/docs/en/dispatcher/disp-ssl.html

If not, if you tell me what you did I can see about adding the information to that page.

 

thanks,
scott

GK-007
Level 9
October 12, 2021

Above link is redirecting to https://experienceleague.adobe.com/docs/

Is there any correct link available?

Level 2
October 16, 2015

Thanks! It seems like the "mod_ssl.so" is implicitly loaded by "mod_dispatcher.so" and no explicit directive is required.
Just make sure "mod_ssl.so" is in the modules directory. I got it working with a few tweaks.
It seems like the dispatcher documentation needs to be updated with more details about the SSL configuration.
Thanks, Alex

Level 2
October 16, 2015

Well, I was hoping someone has Dispatcher-6.1 working on SSL on Linux. A httpd.conf sample would help!
PS: Dispatcher's README.txt is dated 2013! :-)

smacdonald2008
Level 10
October 16, 2015
  On Monday  I will reach out to internal Adobe people to see if anyone has encountered  this.   
joerghoh
Adobe Employee
Adobe Employee
October 16, 2015

Hi,

It's likely that you don't have the SSL module loaded. Please add this statement to your httpd.conf:

LoadModule ssl_module modules/mod_ssl.so

kind regards,
Jörg

smacdonald2008
Level 10
October 16, 2015
If docs are not working; please file a ticket. A support agent will help here.      
Level 3
March 10, 2016

Hey Alex & Jörg

I have got ssl module loaded... ( Refere messages below) still I get the error - libssl.so.10: cannot open shared object file: No such file or directory


[Thu Mar 10 09:01:24.043065 2016] [ssl:debug] [pid 14833:tid 139951116785536] ssl_engine_init.c(893): AH02236: Configuring RSA server private key

[Thu Mar 10 09:01:24.043150 2016] [ssl:info] [pid 14833:tid 139951116785536] AH01876: mod_ssl/2.4.7 compiled against Server: Apache/2.4.7, Library: OpenSSL/1.0.1f [Thu Mar 10 09:01:24.043567 2016] [mpm_event:notice] [pid 14833:tid 139951116785536] AH00489: Apache/2.4.7 (Ubuntu) OpenSSL/1.0.1f configured -- resuming normal operations [Thu Mar 10 09:01:24.043587 2016] [mpm_event:info] [pid 14833:tid 139951116785536] AH00490: Server built: Jan 14 2016 17:45:23 [Thu Mar 10 09:01:24.043602 2016] [core:notice] [pid 14833:tid 139951116785536] AH00094: Command line: '/usr/sbin/apache2'

 

I am using

Linux - Ubunt 14 X64 , [Linux ubuntu 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux]

Dispatcher version - dispatcher-apache2.4-linux-x86-64-ssl10-4.1.12/

Any pointer what could be causing this.

/Regards
Kanwal