Relativity and SSL/https on Ubuntu with Lazarus 1.4.4

Thank you for the fast Answer. Will try that.

Shalom
Manfred

When i try o generate a self-signed certificate i get the Error:

Relativity Server: v9.1.100.1251
Data Abstract: v9.1.100.1251
RemObjects SDK: v9.1.100.1251

Framework: v4.0.30319.42000
Operating System: Unix 3.13.0.42
Platform: Unix

Mono Version: current one for Ubuntu 14.04 LTS

What Mono version is installed there?

Older Mono builds have a huge amount of bugs in the SSL stuff (tbh newer ones also arenā€™t bug free, but at least there are workarounds for these bugs)

mono --version
Mono JIT compiler version 4.4.0 (tarball Tue Jun 14 13:41:51 UTC 2016)
Copyright Ā© 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen

Please make sure that you havenā€™t deployed the assembly Mono.Security.dll that is bundled with the NPGSQL driver.
In other words if there is a Mono.Security.dll file in the Relativity installation directory in ubuntu then delete it and restart the server. Everything should work ok after that.

Thank you for the hint.
This was the Problem. Generating the Cert works now fine.
I did follow the Doc > https://docs.dataabstract.com/Relativity/TLS/
but when i try to open the Page i get this Error ( Firefox )
Fehlercode: SSL_ERROR_RX_RECORD_TOO_LONG

Quite expected if you try to open the https://localhost:7099 URL. It is used by the default Relativity channel. There is nothing that can answer the SSL request.

Let me explain this in some more details:

There are 3 channels/ports that can be opened by Relativity Server:

Former two channels are opened first, then the user-configured channel tries to start. On your config screenshot I see you tried to set it to use the port 7099. Unfortunately this port is already used, so this channel is not opened at all.

So for example if you change the post setting to 7097 or 8000 (to anything valid except 7099 and 7098) then you will be able to connect there with Firefox. Ofc Firefox will say that the certificate has unknown issuer, but thatā€™s what the ā€˜self-signed certificateā€™ means.

Sorry for the late Answer.
I tried different settings.
Now i have Port 7100 but when i try to connect to https://mydomain.ch:7100
i just get ERR_CONNECTION_TIMED_OUT.

When i go to http://mydomain.ch:7099/ i get the statuspage:

Server settings:

Server channel:

Simple Http Channel (TLS protected)
Session Manager:

Session manager uses local process memory to store session data
Configuration Storage:

Local file system is used to store the Relativity Server configuration, including Domains and Domain schemas
Hosted Domains & Schemas:

Domain myschema
Streamer Bin2DataStreamer
Schemas myschema
Relativity Server: v9.1.100.1251
Data Abstract: v9.1.100.1251
RemObjects SDK: v9.1.100.1251

Framework: v4.0.30319.42000
Operating System: Unix 3.13.0.42
Platform: Unix

Copyright Ā© RemObjects Software, LLC. All rights reserved.

What are the settings on that channel? Also does it respond when you try to open it in browser?

Did try it on localhost ( My Windows Dev. System ) it works here.
But on my Server Ubuntu 14.04 it is not working.
( The SSL Part )

Also does it respond when you try to open it in browser?

No
The Normal Port yes.

What are the settings on that channel?

Ok found the Problemā€¦
My Firewall ( on the Server ) was Blocking the Portā€¦:pensive:
Sorry for the mistakeā€¦

Shalom
Manfred