3

I have created a key and self-signed certificate and moved them to /etc/httpd/conf/

My ssl.conf is here: http://pastebin.com/gsQbKY67

The ssl_module (shared) is there when I try httpd -M

Output from netstat -tulpn | grep 443 : tcp6 0 0 :::443 :::* LISTEN 2640/httpd

There's nothing in the /var/log/httpd/error_log / ssl_error_log files.

When I try https://<my-server-ip>/secure I get ERR_CONNECTION_REFUSED

1 Answer 1

1

as you can notice from:

netstat -tulpn | grep 443 : tcp6 0 0 :::443 :::* LISTEN 2640/httpd 

the port 443 is listening on tcp6, which translated you have Ipv6 and not Ipv4.

Is your system configured with IPv4 or 6?

Pls make sure your configuration is using the proper IP protocol and you will that you wont have issues anymore....

4
  • This is the output from ifconfig | grep inet6 : inet6 fe80::a00:27ff:feb4:ed8e prefixlen 64 scopeid 0x20<link> inet6 ::1 prefixlen 128 scopeid 0x10<host>. I presume that means it's configured with IPv6? Commented Nov 26, 2015 at 16:11
  • Nope, it means your system is running both Ipv4/6 and the apache is automatically binds on ipv6 for some reason. you need to check the main httpd.conf and see what is the IP that apache is listening to. Commented Nov 26, 2015 at 16:15
  • is that the reason that it's not working? here is my httpd.conf pastebin.com/Hk0u85nb what do I need to look for? Thank you for your help. Commented Nov 26, 2015 at 22:01
  • yes, you need to change Listen 80 to Listen 0.0.0.0:80. pls refer to apache official guide if you don't know what you are dealing with: httpd.apache.org/docs/2.2/bind.html Commented Nov 27, 2015 at 9:59

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.