LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 07-23-2012, 11:42 PM   #1
romeo_tango
Member
 
Registered: Nov 2006
Distribution: Mint
Posts: 148

Rep: Reputation: 15
Unhappy Cannot Enable HTTPS using 'Apache from sunfreewares' & 'bundled OpenSSL '


Hi,

I am using Apache 2.2.21 from sunfreewares. It has a mod_ssl.so within the modules directory.

Everytime I tried to load the mod_ssl.so into apache and then test the config using apachectl -t, it gave this error :

Code:
httpd: Syntax error on line 94 of /usr/local/apache2/conf/httpd.conf: 
Cannot load /usr/local/apache2/modules/mod_ssl.so into server: ld.so.1: 
httpd: fatal: relocation error: file /usr/local/apache2/modules/mod_ssl.so: 
symbol SSL_get_servername: referenced symbol not found
The openssl is at /usr/local/ssl/lib and /usr/local/ssl/bin. I already tried to export it into LD_LIBRARY_PATH and PATH respectively but still got no luck.

Any help would be appreciated
Thanks!
 
Old 07-24-2012, 02:00 AM   #2
romeo_tango
Member
 
Registered: Nov 2006
Distribution: Mint
Posts: 148

Original Poster
Rep: Reputation: 15
I finally solved it by doing :
- downloading an openssl source.
- do a ./config shared
- do make
- and copy the lib*.so* to /usr/local/lib

Thank you LQ!
 
Old 07-24-2012, 02:32 AM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by romeo_tango View Post
Thank you LQ!
You are welcome !
Thanks for the feed-back.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching from openssl to gnutls for https traffic on apache gjwalsh Linux - Server 3 11-05-2010 12:05 PM
apache 2.0.55 & openssl 0.9.8 error? ziggie216 Linux - Software 4 11-27-2005 08:37 PM
Apache Https & Proxy wwnexc Linux - Software 0 11-04-2005 04:01 PM
trouble with apache 1.3 & https & debian deuce868 Linux - Networking 0 11-20-2004 08:11 PM
Apache & Squirrelmail:Redirect to https? mac_phil Linux - Software 1 05-24-2004 03:52 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 05:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration