I understand that this topic has been discussed in several older posts, especially Will a self-signed certificate work for the reverse Apache proxy? posted by @Ryan
I ran into the same problem but could not get around it. I have Apache 2.4.12 installed as a reverse proxy in front of the Oracle HTTP server. I have valid certificates on the proxy server, but I myself signed the certificates on the Oracle HTTP server. The goal is to do https all the way, but whenever the browser enters myhost.domain, it will issue a certificate warning (due to self-signed certificates). The presence of authentic certificates on the Oracle HTTP server is not an option, and user browsers are limited and therefore cannot ignore the self-signed certificate warning.
Here is my virtual host
LogLevel ERROR ServerName myhost.domain ServerAlias xxx.xxx.xxx.xx DocumentRoot D:/xyz/pubdocs SSLEngine On SSLProxyEngine On SSLCertificateFile certs/myserver.crt SSLCertificateKeyFile certs/myserver.key SSLCertificateChainFile certs/myserver_chain.crt SSLProxyCACertificateFile certs/my_self_signed.pem SSLProxyVerify none SSLProxyCheckPeerName off SSLProxyCheckPeerCN off SSLProxyCheckPeerExpire off SSLProtocol -all +TLSv1 SSLProxyProtocol +SSLv3 +TLSv1 +TLSv1.1 #SSLCipherSuite ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:!NULL:RC4+RSA:+HIGH:+MEDIUM ErrorLog "logs/abc-error.log" CustomLog "logs/abc-access.log" cert ProxyRequests Off # IE compatibility Header set X-UA-Compatible "IE=EmulateIE8" # Prevent page from being loaded within an IFrame (Cross-Frame Scripting protection) Header always append X-Frame-Options SAMEORIGIN # Prevent mime sniffing exploint ; disabled breaks PEM Popup image rendering # Header set X-Content-Type-Options: nosniff # Disable caching Header set Cache-Control "no-cache, must-revalidate, private" # Enable X-XSS-Protection Header set X-XSS-Protection: "1; mode=block" ProxyPass / https://myhost.domain/ ProxyPassReverse / https://myhost.domain/
It seems that using multiple directives works for many people, but doesn't seem to work for me.
SSLProxyVerify none
Disable SSLProxyCheckPeerName
SSLProxyCheckPeerCN off
SSLProxyCheckPeerExpire off
Is there anything else that I am missing.
Any help is appreciated.
Thanks Raj
source share