Security concerns on HTTP WAN side

Re: Security concerns on HTTP WAN side

Postby Jocko » Tue Nov 10, 2015 9:30 pm

Do you mean enable connexion over TLS/SSL protocol with port 81 ?

To do it add these lines within the VirtualHost directive after ServerName line:
Code: Select all
<IfModule !mod_headers.c>
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
</IfModule>

SSLEngine on

SSLCipherSuite RC4-SHA:AES128-SHA:HIGH:MEDIUM:!aNULL:!MD5

SSLCertificateFile /rw_fs/etc/ssl/fvdwsl.crt
SSLCertificateKeyFile  /rw_fs/etc/ssl/fvdwsl.key

SSLOptions +OptRenegotiate

<FilesMatch "\.(cgi|shtml|phtml|php3?)$">
    SSLOptions +StdEnvVars +OptRenegotiate
</FilesMatch>

SetEnvIf User-Agent ".*MSIE.*" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0


As some other lines are also required (at the server level), you must enable https in the main setup menu (but it seems that you already did it)

Please to note you can no longer use http on this port after adding these lines.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Security concerns on HTTP WAN side

Postby raidsm » Tue Nov 10, 2015 10:36 pm

:applause Great! :woohoo it's working perfectly, I must tell you that I'm quite impressed! :hail

I've just read some information regarding virtual hosts using HTTPS and I was in the impression it couldn't be possible. My only hope was that it may be possible because I only have on virtual host but as I'm a complete noob, I don't quite understand every bit of it. Just that I use the same certificate that the FVDW config page is using.

Thanks again! :hail :beer:
raidsm
Donator VIP
Donator VIP
 
Posts: 153
Joined: Wed May 13, 2015 11:40 pm

Re: Security concerns on HTTP WAN side

Postby raidsm » Wed Nov 11, 2015 12:24 am

oh my... here's another one... :shocked

But it should be an easy one. :?

If I disable the ssl (port 443) on the fvdw web server or if I change the default ssl port , can I then use the default ssl port for my virtual host?
raidsm
Donator VIP
Donator VIP
 
Posts: 153
Joined: Wed May 13, 2015 11:40 pm

Re: Security concerns on HTTP WAN side

Postby Jocko » Wed Nov 11, 2015 3:33 pm

Hi raidsm,

You need to keep enable the https option as some directive lines are required at the server level if you want to have https on your wp port.

Yes, you can select another port for the main Web server and reuse the port 443 for your wp server.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Previous

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 8 guests