Installing and Configuring Apache 2.4 on windows - apache

I have been tasked with Installing and Configuring Apache 2.4 on a windows server for the following purpose:
Configure SSL through apache
Apache Tomcat also installed on server to handle web request to a specific web application - MySQL db also on the same server.
How does one go about installing and configuring SSL through apache 2.4 on Windows Server 2012?
I have read so many documents and so many questions on forums etc and is now more confused than before.
http://httpd.apache.org/docs/2.4/
https://www.sslshopper.com/article-installing-an-ssl-certificate-in-windows-server-2008-iis-7.0.html
So far i have download and installed apache as a service and created the Certificate service request from OPENSSL (downloaded and installed also).
All I need to do now is :
How does one import these certificates in apache ?
How do you test if the import was successful and if ssl is working ?
How to redirect Apache to Apache tomcat to serve the webpage
Can someone please outline the steps require and if possible how to perform these steps for apache in Windows.
Thanks.
Regards,
Robert Ramoutar.

How does one import these certificates in[to] Apache [httpd]?
http://httpd.apache.org/docs/2.4/ssl/ssl_faq.html#realcert
How do you test if the import was successful and if SSL is working?
Connect to the server using a web browser with HTTPS. If it works, and the certificate looks the way you wanted it to look and you don't get an errors/warnings, then you are good.
How to redirect Apache [httpd] to Apache Tomcat to serve the web page
You need to use a module for reverse-proxying like mod_proxy. Read the documentation for mod_proxy_http to see how to set one up.

Related

unable to configure tomcat 8.5.57 webserver for https on ubuntu 18.04

I have installed tomcat on ubuntu 18.4. post default installation and jave home configurations able to see webserver page as response for http://:8080.
Later generated keystore and updated the details in conf/server.xml to enable https. Even after this am not getting tomcat default page with https, though getting web page over http / 8080 port.
Any pointer to debug / enable https on tomcat.?
Is Apache tomcat version 8.5 compatible with Ubuntu 18.04 version.?
After reviewing the server.xml, connector node for https was made with smaller case. was not aware of it as case sensitive. after making appropriate changes able to access https also.

How to install SVN server when Apache HTTP Server is already installed in Windows?

I have a computer with Windows Server 2016 operating system. It has IIS 10 installed using ports 80 and 443 and Apache HTTP Server 2.4 installed using port 81 and 4437.
Now I want to install SVN on it so that remote users can access it using http protocol. So I want SVN to use Apache HTTP Server. I went to https://subversion.apache.org/packages.html#windows web page to download SVN and looks like all products have Apache HTTP Server builtin.
Is there a documentation / video tutorial which tells step by step of installing in such scenario?
Thanks
Is there a documentation / video tutorial which tells step by step of
installing in such scenario?
The installation procedure remains the same when IIS or other httpd instances are running on the computer.

SSL installed on domain with wamp, but browser says "insecure"

I followed this tutorial Installation SSL in wamp server: Error in httpd-ssl.conf to set up SSL on my server, but still the browser says "Site is insecure".
Windows server 2012R2
Wamp server 3.1.3 64 bit.
Running Moodle on it.
Checked my domain on https://www.ssllabs.com/ssltest/ but got no errors.
Any help would be appreciated.
I solved it by adding https to the moodle configuration file. Apache related configuration was fine according to the link provided above.
Cheers

websphere and apache server proxy and rewrite configuration

There are javaEE applications run on WebSphere server.
The thing I wanna do that to configure a http server that takes the request and redirect to my local websphere server.
For example:
This is live Project testProject.com/Otel..
I wanna reach my local project when I insert local.testProject.com/Otel..
The thing I have done so far I can reach my local apache server when I click local.testProject.com just with adding in host file in windows/system32/drivre/etc directory.
The thing I could not do so far. redirecting this incoming request to my apache server to websphere server.
Could you please help me on these. Dont hasitate to ask further questions.
I would be appreciated if you could give me some ideas with just commenting at least.
Good days..
IBM provides a specialty reverse proxy module for Apache called the WebSphere WebServer Plug-in. Its use is described in detail in the websphere documentation.
In simple configurations, you can just configure any server you already have as a reverse proxy.
Load mod_proxy and mod_proxy_http (varies depending on Apache distribution)
Append to your virtual host:
ProxyPreserveHost ON
ProxyPass /otel http://washostname.example.com/otel
# ProxyPassReverse likely not required in your case.
Of course there are thousands of places to read about setting up Apache as a reverse proxy and there are nearly no WebSphere specifics.

Does configuring a web server with SSL break regular HTTP

I'm in the process of getting a SSL certificate for my website which i'm running of a VPS. My website also serves as a web service for some ios/android applications to fetch data from. I'm just wondering if installing and configuring a SSL Certificate in Apache will force everyone to contact the web server over HTTPS and refuse regular HTTP calls. Hince will my applications break until I've released an update making all server calls to HTTPS?
Cheers
Apache can handle both http and https at the same time.
Normally you setup your http site under something like httpd.conf which includes a line (might be commented out) something like:
Include extra/httpd-ssl.conf
which tells apache to load additional configuration for the httpd-ssl.conf file located in the 'extra' directory.
if you did a standard install of apache then the httpd-ssl.conf file is already there with a generic template for the HTTPS site, just modify it as necessary and (if needed) uncomment the Include line above in httpd.conf.