Question about SSL

I am trying to connect to my spamviewer
This is a completely fresh install of freebsd with
spamassassin
postfix
clamav
amavisd-new

installed

when i edited /usr/local/etc/apache22/httpd.conf
I put listen 8443

I get this error when I put my url
Code:
Secure Connection Failed
An error occurred during a connection to 172.16.99.43:8443.
SSL received a record that exceeded the maximum permissible length.
(Error code: ssl_error_rx_record_too_long)
The page you are trying to view can not be shown because the authenticity of the received data could not be verified.

    * Please contact the web site owners to inform them of this problem.

Any ideas?
if I put
Code:
http://ip
I get a page that says
It Works!
If I put
Code:
https://ip
I get the error message I just posted.
Any Ideas?
 
I followed this URL to do it
Code:
http://freebsdrocks.net/index.php?option=com_content&task=view&id=17&Itemid=25
 
I may have gone up one step
now I have this as an error
Code:
Firefox can't establish a connection to the server at x.x.x.x:8443.
Though the site seems valid, the browser was unable to establish a connection.
    * Could the site be temporarily unavailable? Try again later.
    * Are you unable to browse other sites?  Check the computer's network connection.
    * Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.

When I start my machine I get this error
Code:
Preforming sanity check on apache22 configuration:
httpd: syntax error on line 133 of /usr/local/etc/apache22/httpd.conf: /usr/local/etc/apache22/httpd.conf:133: <Virtual_Host_default_:8443> was not closed.
Starting apache22.
httpd: syntax error on line 133 of /usr/local/etc/apache22/httpd.conf: /usr/local/etc/apache22/httpd.conf:133: <Virtual_Host_default_:8443> was not closed.

What am I doing wrong :s
 
Ok so I did this because I thought i should start over
I did
Code:
cd /usr/ports/www/apache22
make deinstall
make && make install && make clean

everything seems to have went OK. It uninstalled and reinstalled the port.
Now when I start up my FreeBSD box I don't get an error message anymore with apache22 startup however when i put in my https://IP:8443 it still tells me: Though the site seems valid, the browser was unable to establish a connection.

At least I got rid of the error, now I assume it has to do with the configuration of Apache but I have no idea how to do it.

IS IT POSSIBLE I just don't have a certificate installed that is giving this error?
 
anthony911 said:
... however when i put in my https://IP:8443 it still tells me: Though the site seems valid, the browser was unable to establish a connection.

...

IS IT POSSIBLE I just don't have a certificate installed that is giving this error?

Nope, that's not what is causing this particular error. It sounds like something is filtering traffic to tcp 443 between you and the host.

To prove this point, from your client workstation run:
% nc -zvw 1 web.host.here 443

-------

Alternatively, maybe you forgot to start httpd. Make sure it is running and listening.

% pgrep httpd

% sockstat -4l
 
Back
Top