Unanswered question

How to Open Neotys Team Server in HTTPS mode

I want to open Team server in https mode. how to do that ?

Pradeep S.
Pradeep S.

Pradeep S.

Level
0
83 / 100
points

Answers

Pradeep S.
Pradeep S.

Pradeep S.

Level
0
83 / 100
points

I've tried with tomcat it works fine with HTTPS. But when i apply the same kind of settings/ when i try the same steps in Neotys Team Server Apache folder, it is not working. I used this link for tomcat --> . Am i missing something which needs to be changed as per neoload ?

From Tomcat documentation the SSL settings are part of the connector options but in the video it's inside an SSHconfig tag. Could you try like the example below way instead with your own keystore?

< Define a SSL Coyote HTTP/1.1 Connector on port 8443 >
<Connector
           protocol="org.apache.coyote.http11.Http11NioProtocol"
           port="8443" maxThreads="200"
           scheme="https" secure="true" SSLEnabled="true"
           keystoreFile="${user.home}/.keystore" keystorePass="changeit"
           clientAuth="false" sslProtocol="TLS"/>
Pradeep S.
Pradeep S.

Pradeep S.

Level
0
83 / 100
points

I am able to launch Neotys Team Server in HTTPS Mode, using the below connector.

<Connector
protocol="org.apache.coyote.http11.Http11NioProtocol"
port="443" maxThreads="200"
scheme="https" secure="true" SSLEnabled="true"
keystoreFile="conf\localhost.jks"
keystorePass="changeit"
clinetAuth="false" sslProtocol="TLS" />

Provided, when the keystroke file which i created is placed in the installed path (C:\Program Files (x86)\NeotysTeamServer\tomcat\conf).

I am able to get the Neoload Team Server when i hit https://localhost/

without giving port number since i used 443.

But i am getting unsecured connection. Can it be changed to secure connection ?

Pradeep S.
Pradeep S.

Pradeep S.

Level
0
83 / 100
points

Hi Neil,

Thank you for the response. I am able to access the URL via https://localhost:8443/ now. It's quite weird that I am getting secured connection on all browsers except Google Chrome. I have cleared cookies,Cache and I have done reset to the Chrome Browser. Still facing the same issue. I've imported the certificate and Added them to Trusted Root Certificate. Please find the attached Screenshot.

Pradeep S.
Pradeep S.

Pradeep S.

Level
0
83 / 100
points

I am trying to connect Teamserver from another PC. I am able to see Team Server in IE(Both HTTP and HTTPS). But when i try to connect Neoload Team Server From Neoload Team Server Configurations , I am getting the below error. what could be the problem ?

Unknown Error. SSLHandshakeException invoking https://192.168.22.133:8443/ws/license: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
com.neotys.license.data.n: Unknown Error. SSLHandshakeException invoking https://192.168.22.133:8443/ws/license: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at com.neotys.nl.controller.ax.c(ax.java:398)
at com.neotys.nl.gui.h.h.c.a(c.java:81)
at com.neotys.nl.gui.h.h.c.doInBackground(c.java:62)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

It works fine when i connect using http from another PC.
Time on both the machine are same. I am trying to connect from PC2 to PC1(Team Server Installed). Please find the screenshot.

Hi Pradeep, there are several things to discuss here, in Tomcat you are using a self signed certificate (ie. you created it yourself), it could well be that Chrome doesn't accept self-signed, there maybe a checkbox you need to tick to allow this. The second question is aound the type of certificate, Tomcat allows several types, JKS, P12, etc. While all are valid types, Neoload only supports P12, so for a Neload GUI connecting the NTS, the certificate has to be a P12. This certificate needs to be installed into the Neoload GUIs JRE on the client itself.... However, this last restriction was taken out of the latest Neoload versions so the question would be what are the versions you are using? NL? NTS? the third point is that you are still allowing HTTP connections on Tomcat, if you want, you can have any http requests redirected to https. Sorry for the questions but we need more details

Pradeep S.
Pradeep S.

Pradeep S.

Level
0
83 / 100
points

Thanks for the response Neil. Yes, I am using the self signed certificate. I've installed certificate on the client machine too. It wasnt working before. The problem in my case is the client machine has the previous version of Neoload. Thanks for your resolution. It worked when I updated my Neoload Version to 6.9. Now both the machines have the same version of Neoload. Team server Version is 2.3.2. Now I am able to Share and Checkout the project without any issue.

I am stressing more on Https because the file transfer via HTTPS was more faster when compare to HTTP. we have tested a file upload a .nlp file via http and https. It took 1 hour for the file to upload on http and it took only 8minutes on https. we also tried uploading 1GB file via Https and it completed in 28 Minutes.

Thanks for your resolution.