(Very elementary user)
I have successfully set an Apache 2 webserver to now receive requests from HTTPS.
As I'm sure most of you are aware, this involved:
• generating a KEY and CSR file
• obtaining an SSL and CA directive certificates
• configuring /etc/httpd/conf.d/ssl.conf
In the conf file I put in the paths to my certificates and keys.
I lastly configured the main firewall to NAT https to this sever.
It was all going so well, but I forgot one major thing that prevented all this from working; can you get what it was?
The RHEL5 sever has it's own firewall, and it needed to have https enabled - this was a stupid mistake as I checked everything else several times ... but didn't think of this (not SE Linux)!
Is there a method however of forcing or redirecting all http requests to https?
Here are some examples of how users currently access the server:
The goal is, irrespective as to whether the users use http or https, that they can connect to the server, however, Apache should handle the requests always as https.
Is there a best practice method of doing this; presumably with an entry in the /etc/httpd/conf/httpd.conf ?
Best regards
I have successfully set an Apache 2 webserver to now receive requests from HTTPS.
As I'm sure most of you are aware, this involved:
• generating a KEY and CSR file
• obtaining an SSL and CA directive certificates
• configuring /etc/httpd/conf.d/ssl.conf
In the conf file I put in the paths to my certificates and keys.
I lastly configured the main firewall to NAT https to this sever.
It was all going so well, but I forgot one major thing that prevented all this from working; can you get what it was?
The RHEL5 sever has it's own firewall, and it needed to have https enabled - this was a stupid mistake as I checked everything else several times ... but didn't think of this (not SE Linux)!
Is there a method however of forcing or redirecting all http requests to https?
Here are some examples of how users currently access the server:
The goal is, irrespective as to whether the users use http or https, that they can connect to the server, however, Apache should handle the requests always as https.
Is there a best practice method of doing this; presumably with an entry in the /etc/httpd/conf/httpd.conf ?
Best regards