1 Reply Latest reply on Aug 9, 2018 2:48 PM by dnoel

    How can i setup ccproxy for oracle ecommerce cloud. I need help figuring out the proxy switching part.

    3666503

      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.

        • 1. Re: How can i setup ccproxy for oracle ecommerce cloud. I need help figuring out the proxy switching part.
          dnoel

          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.