Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to close ssl at apache RH7.2

Status
Not open for further replies.

warik

Programmer
Jun 28, 2002
169
ID
Dear all,

I would like to close the ssl port (https) at apache server Red Hat 7.2. So when running httpd service, it only http port (80).
But I don't know how to close it.
Could anyone help me for that?

Thank's in advance.
 
You could look into /etc/httpd/conf/httpd.conf
and look for 'Listen 80' (but then with another number then 80 of course) en put a # for it.
I haven't tried it, but it seems logical to me.
Let me know if it works.
Greetz. Greetz,
muppeteer.gif

themuppeteer@hotmail.com

Don't eat yellow snow...
 
Look for a line like this:

<VirtualHost *:443>
or
<VirtualHost _default_:443>

and comment it out (#).

Unless you've changed it, 443 is the default SSL port.
 
Search first for a line that says something like:

SSL Virtual Host Context or the one that says: <IfDefine HAVE_SSL>

This will be the start of the SSL configuration text where you should be able to block the SSL port.

 
Dear all,

It work, I already close the https port at my server. What I do is closing the (give #)Lister 443 port at httpd.conf like what Themuppeteer said.

I think, if give # at <VirtualHost _default_:443>, I will have to give # to other line bellow that, and it will not so simple. But that's for your idea.

Thank you very much, you are all great.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top