Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

using ssl on Apache 2

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Enabling .htaccess  
Author Message
miguel_30111

External


Since: Jan 09, 2004
Posts: 4



(Msg. 1) Posted: Fri Jul 09, 2004 12:48 pm
Post subject: using ssl on Apache 2
Archived from groups: alt>apache>configuration (more info?)

Hi I new with secure apache server I have read a lot of papers and the more
I read the more confuse I get.

Is there any paper on how to secure a Apache server on Suse9.
Or has onyone done it please send there notes about it.

I have read about using gensslcert and openssl to create the certificate
which is better??

Is there any step by step how to???

I followed one document that says:
-------------
Gensslcert will generate a certificate for 2000 days (this should be long
enough).

Go to /etc/apache2 and there to

ssl.crt/
ssl.key/
ssl.csr/

/etc/apache2/ssl.crt/server.crt
/etc/apache2/ssl.key/server.key
/etc/apache2/ssl.csr/server.csr

Edit /etc/apache2/httpd.conf:

<VirtualHost _default_:443>

# General setup for the virtual host
DocumentRoot "/srv/www/htdocs"
ServerName www.domainname.com
ServerAdmin wabmaster.TakeThisOut@domainname.com
ErrorLog /var/log/httpd/error_log
TransferLog /var/log/httpd/access_log

Edit /etc/sysconfig/apache2


APACHE_SERVER_FLAGS="-D SSL"
APACHE_MODULES=" [...] ssl" HTTPD_START_TIMEOUT="5"
HTTPD_SEC_MOD_SSL="yes"

Next do a

SuSEconfig --module apache2

rcapache2 restart----

I tryied this my apache2 starts but I got syntax erro
and https won't connect

Thanks

 >> Stay informed about: using ssl on Apache 2 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Fri Jul 09, 2004 12:48 pm
Post subject: Re: using ssl on Apache 2 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Miguel Lopes <miguel_3011.DeleteThis@sapo.pt> wrote:
 > Is there any paper on how to secure a Apache server on Suse9.

There is the general OpenSSL documentation that apply to every
distribution.

 > I have read about using gensslcert and openssl to create the certificate
 > which is better??

They are the same.

 > Is there any step by step how to???

Yes, on <a style='text-decoration: underline;' href="http://www.openssl.org" target="_blank">www.openssl.org</a>

 > I tryied this my apache2 starts but I got syntax erro

Then check your error_log file for the error or use
apachectl configtest to check the configuration file.

Davide


--
| Reality is that which, when you stop believing in it, doesn't go away.
|
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: using ssl on Apache 2 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache on pc #2 - Hi , My config 1 pc under W2K (192.168.0.1), with ICS , another 1 with XP pro (192.168.0.2) , and with dyndns services. Problem , how to set up apache in order to run on my XP pro pc , my server is not reachage from outside of the network. So far I...

Apache - I am running Apache from a setup by phpdev423. It works fine, but I have one question. When I look at the processes running on my Windows XP, the memory used by the Apache process varies a great deal. When I first start it , it might take 5K. When I....

Sun ONE and apache - Using Sun ONE (iPlanet) web server on port 8080 for jsp. I want apache to be seamless though and not display the :8080. Is there a way to integrate apache with ONE? Could I use a url rewrite, or something like that, to get rid of the :8080? -thanks ryan

Apache & IIS - Hi all Is it possible to run Apache and IIS on the same Windows 2000 PC, or should I uninstall IIS before installing Apache. Thanks

Apache 2.0.49 and PHP 4.3.4 - Hi All I am having a problem getting apache 2.0.49 to work. I am using a clean install of Suse 9.1 and I am using the RPM's that came with it. When I start it, the service fails. Looking in the error_log the only thing I can see is [Fri May 07..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]