title: WSO2 API Manager 1.10 redirect to carbon or publisher
body: <p>I have 2 stores nodes, 2 publisher nodes, 2 gateway workers, 1 Gateway Manager. The workers nodes and Gateway Manager uses a SVN Deployment Synchronizer. All machine has a apache doing a reverse proxy. I added a CA certificate using [1], except creating a own key store.</p>
  <p>When I publish a api at Publisher node and try get it at worker node, all calling is redirecting to carbon. So, when I try [2] I receve [3].</p>
  <h1>WORKER1</h1>
  <p>CATALINA-server.xml:</p>
  <pre><code> &lt;Connector protocol=&quot;org.apache.coyote.http11.Http11NioProtocol&quot;
                 port=&quot;9443&quot;
                 proxyPort=&quot;443&quot;
                 bindOnInit=&quot;false&quot;
                 sslProtocol=&quot;TLS&quot;
                 sslEnabledProtocols=&quot;TLSv1,TLSv1.1,TLSv1.2&quot;
                 maxHttpHeaderSize=&quot;8192&quot;
                 acceptorThreadCount=&quot;2&quot;
                 maxThreads=&quot;250&quot;
                 minSpareThreads=&quot;50&quot;
                 disableUploadTimeout=&quot;false&quot;
                 enableLookups=&quot;false&quot;
                 connectionUploadTimeout=&quot;120000&quot;
                 maxKeepAliveRequests=&quot;200&quot;
                 acceptCount=&quot;200&quot;
                 server=&quot;WSO2 Carbon Server&quot;
                 clientAuth=&quot;false&quot;
                 compression=&quot;on&quot;
                 scheme=&quot;https&quot;
                 secure=&quot;true&quot;
                 SSLEnabled=&quot;true&quot;
                 compressionMinSize=&quot;2048&quot;
                 noCompressionUserAgents=&quot;gozilla, traviata&quot;
                 compressableMimeType=&quot;text/html,text/javascript,application/x-javascript,application/javascript,application/xml,text/css,application/xslt+xml,text/xsl,image/gif,image/jpg,image/jpeg&quot;
                 keystoreFile=&quot;${carbon.home}/repository/resources/security/wso2carbon.jks&quot;
                 keystorePass=&quot;wso2carbon&quot;
                 URIEncoding=&quot;UTF-8&quot;/&gt;
  </code></pre>
  <p>Carbon.xml</p>
  <pre><code>...
  &lt;HostName&gt;apigateway.serpro.gov.br&lt;/HostName&gt;
  &lt;MgtHostName&gt;apigateway.serpro.gov.br&lt;/MgtHostName&gt;
  ...
  &lt;ServerURL&gt;local:/${carbon.context}/services/&lt;/ServerURL&gt;
  ...
   &lt;DeploymentSynchronizer&gt;
      &lt;Enabled&gt;true&lt;/Enabled&gt;
      &lt;AutoCommit&gt;false&lt;/AutoCommit&gt;
      &lt;AutoCheckout&gt;true&lt;/AutoCheckout&gt;
      &lt;RepositoryType&gt;svn&lt;/RepositoryType&gt;
      &lt;SvnUrl&gt;http://&lt;manager ip&gt;/repos/wso2&lt;/SvnUrl&gt;
      &lt;SvnUser&gt;&lt;user&gt;&lt;/SvnUser&gt;
      &lt;SvnPassword&gt;&lt;password&gt;&lt;/SvnPassword&gt;
      &lt;SvnUrlAppendTenantId&gt;true&lt;/SvnUrlAppendTenantId&gt;
  &lt;/DeploymentSynchronizer&gt;
  ...
  </code></pre>
  <p>api-manager.xml</p>
  <pre><code>...
  &lt;KeyValidatorClientType&gt;WSClient&lt;/KeyValidatorClientType&gt;
  ...
  &lt;RevokeAPIURL&gt;https://${carbon.local.ip}:${https.nio.port}/revoke&lt;/RevokeAPIURL&gt;
  ...
  </code></pre>
  <p>[1] - <a href="http://wso2.com/library/knowledge-base/2011/08/adding-ca-certificate-authority-signed-certificate-wso2-products/" rel="nofollow noreferrer">http://wso2.com/library/knowledge-base/2011/08/adding-ca-certificate-authority-signed-certificate-wso2-products/</a></p>
  <p>[2] - <a href="https://apigateway.serpro.gov.br/calc/1.0/divide?x=2&amp;y=1" rel="nofollow noreferrer">https://apigateway.serpro.gov.br/calc/1.0/divide?x=2&amp;y=1</a></p>
  <p>[3] - <a href="https://apigateway.serpro.gov.br/carbon/admin/login.jsp" rel="nofollow noreferrer">https://apigateway.serpro.gov.br/carbon/admin/login.jsp</a></p>