Enabling SSL (HTTPS)

Options

I have enabled Tomcat 7 to run with HTTPS enabled on port 8443, hence my URL to the AppWorks server is https://<ip>:8443. It seems to work fine to log in to webaccess and to the gateway. But when connecting to trough the AppWorks app I get at authentication failure. It works for non-ssl (http://<ip>:8080)

EDIT: I have now tried to install with https but I then get the errors below

2014-05-13 10:12:58.004 ERROR  com.opentext.otag.auth.OtdsInstaller  - javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

and

WARNING: A servlet request, to the URI https://localhost:8443/gateway/v1/setup, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.

What am I missing?

OTAG Server URL: https://localhost:8443

Tomcat server.xml

<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
       maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
       keystoreFile="D:/keystore/.keystore" keyAlias="tomcat" keyPass="tomcat"
       clientAuth="false" sslProtocol="TLS" />

Comments

  • Hi, Have you found any solution to your problem?

  • Maybe that helps. I set up my Tomcat inside my IDE, and modify my server.xml to use ssl with a self signed certificate. That works fine in my IDE. But then I build my .war file and install it into appworx, and ssl don't work.

    Until now I thought if I change the configuration files for tomcat in my IDE that would directly affect the original file in the tomcat (AppWorx) directory.

    After a few minutes I checked the server.xml in the tomcat directory and ssl was not configured.

    I changed it. Now everything works like expected.

  • I'm still having the issue described by Ola Hellgren.

    Does anyone have some ideas?

    Thanks

    Uldis

  • On iOS certificate should be trusted, otherwise you will not be able to connect. At least that is with Tempo or Everywhere applications - work with HTTP but not with HTTPS if it is not trusted by iOS.