title: Apache Fortress TLS
body: <p>I am new in ldap enviromnet and I am trying to set up the apache fortress with symas openldap (<a href="https://github.com/apache/directory-fortress-core/blob/master/README-QUICKSTART-SLAPD.md" rel="nofollow noreferrer">https://github.com/apache/directory-fortress-core/blob/master/README-QUICKSTART-SLAPD.md</a>)</p>
  
  <p>When I set up with ldap, all the integration tests pass succesfully but when I set the ldaps it throws an handshake error.</p>
  
  <p>Does someone now where I have to set all the client and server certificates because setting up as the repository README, it is not possible.</p>
  
  <p><strong>Fixed:</strong></p>
  
  <p>Following the below answer of the creator of that project, I got the proper set up with LDAPS.</p>
  
  <p><strong>Next Problem:</strong></p>
  
  <p>But now I get an error when I run the 3rd step of Apache Fortress Rest Set Up:</p>
  
  <p><code>mvn clean install -Dload.file=./src/main/resources/FortressRestServerPolicy.xml tomcat:deploy</code></p>
  
  <p><strong>error output:</strong></p>
  
  <p><code>[ERROR] Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.0-beta-1:deploy (default-cli) on project fortress-rest: Cannot invoke Tomcat manager: Error writing to server -&gt; [Help 1]</code></p>
  
  <p><code>org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.0-beta-1:deploy (default-cli) on project fortress-rest: Cannot invoke Tomcat manager</code></p>
  
  <p><code>Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot invoke Tomcat manager</code></p>
  
  <p><code>Caused by: java.io.IOException: Error writing to server</code></p>
  
  <p>I set up in tomcat the roles and users <em>manager-gui</em> (which I am able to access through http and https, hostname/manager/html) and <em>manager-script</em></p>
  
  <p>Changing tomcat maven plugin in pom.xml, I could deploy:</p>
  
  <pre><code>&lt;groupId&gt;org.apache.tomcat.maven&lt;/groupId&gt;
  &lt;artifactId&gt;tomcat7-maven-plugin&lt;/artifactId&gt;
  &lt;version&gt;2.2&lt;/version&gt;
  </code></pre>
  
  <p>but after I get that error...</p>
  
  <p><code>FAIL - Deployed application at context path [/fortress-rest] but context failed to start</code>
  Any ideas what it could be?</p>