Sponsored Content
Special Forums IP Networking configure apache to work with ssl Post 302508945 by ctsgnb on Tuesday 29th of March 2011 01:01:01 PM
Old 03-29-2011
You can have a look here

(On the above link, they were on a debian linux, so the config file may change a bit in your case)

but what they mainly did were :

edit the file
Code:
vi /etc/apache2/ports.conf

look for :
Code:
NameVirtualHost *:80
Listen 80

and after it, make sure you have the lines (or add it)

Code:
NameVirtualHost *:443
<IfModule mod_ssl.c>
Listen 443
</IfModule>

restart apache

(you may then also need to delete / recreate SSL certificate )

---------- Post updated at 07:01 PM ---------- Previous update was at 06:48 PM ----------

I also saw the following on this link :

Code:
LoadModule vhost_alias_module   /ton-path/mod_vhost_alias.so

<IfDefine  SSL>
     Listen  443

     <VirtualHost _default_:443>
            ServerName intranet.mondomaine.com
            SSLEngine On
            SSLCertificateFile /etc/apache2/ssl/phoenix.crt
            SSLCertificateKeyFile /etc/apache2/ssl/phoenix.key
     </VirtualHost>
</IfDefine>

...

So maybe it can be adapted to your case ...
 

10 More Discussions You Might Find Interesting

1. Solaris

Apache with SSL problem

Hi All, I'm attempting to build Apache 1.3.27 on a new Solaris 9 system. I am using following "Option 2" in the INSTALL of the mod_ssl-2.8.12-1.3.27, and I'm stumped. After I configure and make all the required components the make of the Apache server itself stops at: flex... (2 Replies)
Discussion started by: b_manu78
2 Replies

2. HP-UX

Apache and SSL

When everytime I start apache, it asks me to enter pass phrase, and I have to enter the pass phrase manually. I would like to write a script to monitor the apache, such that it will check the apache status, if it is stopped, then start it automatically. However, the script fails since the pass... (1 Reply)
Discussion started by: alfredo
1 Replies

3. Solaris

SSL key Apache

We are running Apache 1.3 on solaris 8 we have renewed our ssl key with verisign. They have confirmed renewel and new ssl certifcate is appended to the end of the email. out apache config file has two directives SSLCertificateFile /export/home/apache/conf/ssl.crt/xxxx.crt SSLCertificationKeyFile... (2 Replies)
Discussion started by: Tirmazi
2 Replies

4. Web Development

Apache SSL Help

I had to update the CA Trusted Chains on two different UNIX servers running Apache. After looking through some documentation, it said that after the new CA's were installed, I had to run the /usr/ccs/bin/make command in order to create the symbolic links for apache to recognize the certs. On the... (1 Reply)
Discussion started by: camerodity
1 Replies

5. Web Development

apache ssl routing 2 dns

Hi i'm looking for some advice on apache ssl routing for 2 url.Fyi one url is certificate is verified by GeoTrust and another url on the other site certificate is verified by Verisgn.Is that possible to routing between this two url. Here is my scenario I have an https:// site running on an... (0 Replies)
Discussion started by: netxus
0 Replies

6. Cybersecurity

how to configure ssl for tomcat 6

Hi, my server is running a tomcat servlet container. yesterday a bought a ssl-certificate from geotrust.com. i got a private-key file and a cert-file (PKCS10). i followed the instructions on Apache Tomcat 6.0 - SSL Configuration HOW-TO first, i created a keystore: ... (0 Replies)
Discussion started by: mcW
0 Replies

7. Web Development

Apache, cgi script run twice when ssl, once when not ssl

I have interesting problem. https:/host/some/x.cgi - this script has run twice when I call this url But http:/host/some/x.cgi work fine, only once. Output is text/plain. If I change output format to the Content-type text/html, then both urls works fine - executed only once. (2 Replies)
Discussion started by: kshji
2 Replies

8. Web Development

Apache - ModSSL (SSL Version?)

Does anyone know where Apache's use of SSL_VERSION_LIBRARY is defined and pulled from, in regard to headers? So far, I've tracked it down to mod_ssl. Which is fine, however, when I recompile mod_ssl with a new version of OpenSSL, and install the module, the request headers still report the old... (0 Replies)
Discussion started by: sun2ecliptic
0 Replies

9. Solaris

configure iplanet DS for SSL without console?

Hey guys, Is it possible to configure iplanet DS for SSL without the DS console? I cannot find any documentation regarding it. The iplanet DS document only references using the DS console which I do not have. In Sun One, you can use dsadm to import certs however that is not available in iplanet... (0 Replies)
Discussion started by: s ladd
0 Replies

10. Linux

Apache wildcard ssl on subdomain serves same page for non ssl virtualhosts

Issue observed: I have configured ng.my-site.com using widlcard ssl cert. When I hit https://www.my-site.com it loads ng.my-site.com website! please advise if I missed any concept / configs... Thank you! httpd.conf <VirtualHost *:80> ServerName www.my-site.com ServerAdmin... (0 Replies)
Discussion started by: ashokvpp
0 Replies
pidfilehack(8)						      System Manager's Manual						    pidfilehack(8)

NAME
pidfilehack - work around daemons that always fork SYNOPSIS
pidfilehack servicename pidfile command [parameters] DESCRIPTION
pidfilehack is used to work around daemons that insist on forking into the background, but that do write a correct pid file. pidfilehack forks the actual service, then waits for the pidfile to be written. Once it can read the pid from the pidfile it will tell minit the real pid and quit. USAGE
usually pidfilehack is symlinked as run command of a service. servicename the name of the service pidfilehack is installed for. pidfile the filename to read the pid from command the real command to start parameters additional parameters for the command A typical use of this command will look like this: /etc/minit/apache /etc/minit/apache/params apache /var/run/apache.pid apachectl start /etc/minit/apache/run -> /sbin/pidfilehack AUTHOR
minit was written by Felix von Leitner and can be downloaded from his page at http://www.fefe.de/minit/ This manpage was written by Erich Schubert <erich@debian.org> for the Debian GNU/Linux operating system. SEE ALSO
msvc(8), pidfilehack(8) pidfilehack(8)
All times are GMT -4. The time now is 03:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy