Good day to all,
I have an application that makes web service calls to a remote server. My application is deployed in tomcat, and is behind on a secure zone of network. In order to make web service calls, it mass pass thru on a DMZ 1. Now we setup an Apache Web Server in DMZ1 and we verified that our app in secure zone was able to connect (via post / get) to the Apache Web Server in DMZ 1.
Now the remote web server changed their connection from http to https and send to us a .cer file. I'm sorry if this has been asked / posted before, but how do i import that .cer file in Apache Web Server. I was able to this in websphere app server and tomcat (via was import certificate tool / for tomcat use keytool and copy it in the security dir of jre)
I have this configuration on httpd.conf (URL was not shown)
<VirtualHost *:80>
<Location /example1>
ProxyPass [
<URL...] of remote server>
ProxyPassReverse [
<URL>...]
</Location>
SSLProxyEngine on
SSLCACertificateFile /etc/apache2/client.cer
<Location /example2>
ProxyPass [
<URL...] of remote server>
ProxyPassReverse [
<URL...] of remote server>
</Location>
</VirtualHost>
Is the above configurion valid? I have 2 locations defined. example1 is using http and example2 is using https and i only want the example2 location.