Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 62 Insurance
- 536K On-Premises Infrastructure
- 138.2K Analytics Software
- 38.6K Application Development Software
- 5.7K Cloud Platform
- 109.4K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
How can i setup ccproxy for oracle ecommerce cloud. I need help figuring out the proxy switching par

I am having trouble setting up the rerouting of the browser request to the port that ccproxy is listening on. Is there any videos on the setup of this? I have already read the developer guide on this. It is very broad.
Answers
-
I performed the following steps on Windows using Chrome.
Installed openssl from WinGNU http://gnuwin32.sourceforge.net/packages/openssl.htm
Added "C:\Program Files (x86)\GnuWin32\bin" to system PATH variable.
Added system variable "OPENSSL_CONF" with value of "C:\Program Files (x86)\GnuWin32\share\openssl.cnf"
Opened a command prompt with Admin Rights, "cd" to ".ccc" folder of my export
Executed the following one time (replacing ccstore-xxxx with your value):
openssl genrsa -out ./ccproxy-root-ca.key.pem 2048
openssl req -x509 -new -nodes -key ccproxy-root-ca.key.pem -days 1024 -out ./ccproxy-private-root-ca.crt.pem -subj "/C=US/O=ACME Certificates/CN=ccstore-xxxx.oracleoutsourcing.com"
certutil -addstore -enterprise -f "Root" ccproxy-private-root-ca.crt.pem
Now you can start the proxy server (again replacing xxxx with your value):
ccproxy -v -n https://ccstore-xxxx.oracleoutsourcing.com
Next I installed "Switchy Omega" Chrome extension and configured the following proxy:
Then I setup an autoswitch rule that looks thus:
Next select either OCC Proxy or auto switch from the Switchy Omega extension icon:
Finally visit (replace xxxx) https://ccstore-xxxx.oracleoutsourcing.com/
You'll know the connection is successful when the Command Prompt running the proxy starts logging various output when you attempt the connection.
-
When performing the above, I receive the following error in Chrome:
Your connection is not private
Attackers might be trying to steal your information from ccstore-****.oracleoutsourcing.com (for example, passwords, messages, or credit cards). Learn more
NET::ERR_CERT_AUTHORITY_INVALIDccstore-****.oracleoutsourcing.com normally uses encryption to protect your information. When Google Chrome tried to connect to ccstore-****.oracleoutsourcing.com this time, the website sent back unusual and incorrect credentials. This may happen when an attacker is trying to pretend to be ccstore-****.oracleoutsourcing.com, or a Wi-Fi sign-in screen has interrupted the connection. Your information is still secure because Google Chrome stopped the connection before any data was exchanged.
You cannot visit ccstore-****.oracleoutsourcing.com right now because the website uses HSTS. Network errors and attacks are usually temporary, so this page will probably work later.
-
Run ccproxy first, then open chrome in an incognito window and navigate to the URL. You will still see the ERR_CERT_AUTHORITY_INVALID, but should have the option to "proceed anyway". If you navigate to the page before starting ccproxy, it will show this HSTS error without the "proceed anyway" option.